mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-03 03:05:18 +02:00
Also need this to prevent double-shutdown.
That exit(0) before was skipping a lot of stuff..
This commit is contained in:
@@ -942,7 +942,10 @@ UI::EventReturn MainScreen::OnForums(UI::EventParams &e) {
|
||||
|
||||
UI::EventReturn MainScreen::OnExit(UI::EventParams &e) {
|
||||
System_SendMessage("event", "exitprogram");
|
||||
#ifndef USING_WIN_UI
|
||||
NativeShutdown();
|
||||
#endif
|
||||
globalUIState = UISTATE_EXIT;
|
||||
return UI::EVENT_DONE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user