SDL: Fix crash when changing debug settings while running
This commit is contained in:
1 parent
6ed67468d2
commit
48be73be5a
2 files changed
+2
-2
No files matched your search
@@ -915,7 +915,7 @@ void SDLHostInterface::DrawDebugMenu()
|
||||
debug_settings_copy.show_spu_state = debug_settings.show_spu_state;
|
||||
debug_settings_copy.show_timers_state = debug_settings.show_timers_state;
|
||||
debug_settings_copy.show_mdec_state = debug_settings.show_mdec_state;
|
||||
SaveAndUpdateSettings();
|
||||
RunLater([this]() { SaveAndUpdateSettings(); });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user