mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-19 01:10:39 +02:00
Also need this to prevent double-shutdown.
That exit(0) before was skipping a lot of stuff..
This commit is contained in:
1 parent
80704d013e
commit
739da04322
1 file changed
+3
@@ -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