From 0365386fa14f458e9cfb126f5bd5a2ed9dc227d4 Mon Sep 17 00:00:00 2001 From: kanjitalk755 Date: Thu, 22 Dec 2022 09:05:57 +0900 Subject: [PATCH] Fix for macOS Ventura --- SheepShaver/src/MacOSX/prefs_macosx.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SheepShaver/src/MacOSX/prefs_macosx.mm b/SheepShaver/src/MacOSX/prefs_macosx.mm index 63be01af..2630a3ae 100644 --- a/SheepShaver/src/MacOSX/prefs_macosx.mm +++ b/SheepShaver/src/MacOSX/prefs_macosx.mm @@ -113,7 +113,7 @@ void prefs_init(void) NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; #if SDL_VERSION_ATLEAST(2,0,0) for (NSMenuItem *sub_item in [NSApp mainMenu].itemArray[0].submenu.itemArray) { - if ([sub_item.title isEqualToString:@"Preferences…"]) { + if ([sub_item.title isEqualToString:@"Preferences…"] || [sub_item.title isEqualToString:@"Settings…"]) { sub_item.target = [[SheepShaverMain alloc] init]; sub_item.action = @selector(openPreferences:); break;