mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 16:53:40 +01:00
Call g_Config.Save() first thing in MainScreen::OnExit. Workaround for #13286
This commit is contained in:
1 parent
1c925e705f
commit
c546c60324
1 file changed
+2
-4
+2
-4
@@ -1369,14 +1369,12 @@ UI::EventReturn MainScreen::OnForums(UI::EventParams &e) {
|
||||
}
|
||||
|
||||
UI::EventReturn MainScreen::OnExit(UI::EventParams &e) {
|
||||
System_SendMessage("event", "exitprogram");
|
||||
// Let's make sure the config was saved, since it may not have been.
|
||||
g_Config.Save("MainScreen::OnExit");
|
||||
|
||||
// Request the framework to exit cleanly.
|
||||
System_SendMessage("finish", "");
|
||||
|
||||
// However, let's make sure the config was saved, since it may not have been.
|
||||
g_Config.Save("MainScreen::OnExit");
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#ifdef ANDROID_NDK_PROFILER
|
||||
moncleanup();
|
||||
|
||||
Reference in new issue
Block a user