SameBoy | Accurate GB/GBC emulator |
| download: https://git.y1.nz/archives/sameboy.tar.gz | |
| README | Files | Log | Refs | LICENSE |
commit 619792db7fc05eca96ce26b220580f73e9b7d051 parent bd5d01c0a47d3840e5105cee6b23697cfb4d79f3 Author: Lior Halphon <LIJI32@gmail.com> Date: Sat, 31 Aug 2024 13:54:22 +0300 Fix link cable support is macOS 10.13 and older Diffstat:
| M | Cocoa/GBApp.m | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Cocoa/GBApp.m b/Cocoa/GBApp.m @@ -218,7 +218,10 @@ static uint32_t color_to_int(NSColor *color) [item.image setSize:NSMakeSize(16, 16)]; [items addObject:item]; } - menu.itemArray = items; + [menu removeAllItems]; + for (NSMenuItem *item in items) { + [menu addItem:item]; + } } - (IBAction) showPreferences: (id) sender
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.