Mac: Fix window redraw crash

This commit is contained in:
Michael Buckley 2020-03-18 17:22:39 -07:00
parent d6a0fa8ea5
commit 7d028a4e74
1 changed files with 2 additions and 0 deletions

View File

@ -129,6 +129,8 @@ static NSWindowFrameAutosaveName const kMainWindowIdentifier = @"s9xMainWindow";
};
[defaults registerDefaults:defaultSettings];
[defaults setBool:NO forKey:@"NSWindowAssertWhenDisplayCycleLimitReached"];
[defaults synchronize];
self.keys = [[defaults objectForKey:kKeyboardPrefs] mutableCopy];