From 43b6efb12b93d64b5cd623acc24a4dc2e18a71ef Mon Sep 17 00:00:00 2001 From: Michael Buckley Date: Sun, 14 Jul 2024 11:38:55 -0700 Subject: [PATCH] MacOS: Fix building in Xcode 15. --- macosx/Snes9x/AppDelegate.m | 3 --- 1 file changed, 3 deletions(-) diff --git a/macosx/Snes9x/AppDelegate.m b/macosx/Snes9x/AppDelegate.m index 38ce22ae..088293cb 100644 --- a/macosx/Snes9x/AppDelegate.m +++ b/macosx/Snes9x/AppDelegate.m @@ -45,7 +45,6 @@ NSWindowFrameAutosaveName const kCheatFinderWindowIdentifier = @"s9xCheatFinderW gameWindow.contentView.layer.backgroundColor = NSColor.blackColor.CGColor; gameWindow.title = @"Snes9x"; - gameWindow.restorationClass = [self class]; gameWindow.frameAutosaveName = kMainWindowIdentifier; gameWindow.releasedWhenClosed = NO; gameWindow.backgroundColor = NSColor.clearColor; @@ -660,7 +659,6 @@ NSWindowFrameAutosaveName const kCheatFinderWindowIdentifier = @"s9xCheatFinderW window = self.cheatsWindowController.window; window.title = NSLocalizedString(@"Cheats", nil); - window.restorationClass = self.class; window.frameAutosaveName = kCheatsWindowIdentifier; window.releasedWhenClosed = NO; @@ -695,7 +693,6 @@ NSWindowFrameAutosaveName const kCheatFinderWindowIdentifier = @"s9xCheatFinderW window = self.cheatFinderWindowController.window; window.title = NSLocalizedString(@"Cheat Finder", nil); - window.restorationClass = self.class; window.frameAutosaveName = kCheatFinderWindowIdentifier; window.releasedWhenClosed = NO;