X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fmain.c;h=be93282e85b86df2529b631e2ae92f5609f1164b;hb=cfa5a2aff5202aadca7d19c76b61c80cec5b327c;hp=7d140f823865f8e0c36421f0170eb733ae174de0;hpb=980f7a58b47fefd3424bf8d55f6345128dc3774c;p=pcsx_rearmed.git diff --git a/frontend/main.c b/frontend/main.c index 7d140f82..be93282e 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -487,7 +487,7 @@ int emu_core_init(void) void emu_core_ask_exit(void) { - stop = 1; + stop++; g_emu_want_quit = 1; } @@ -736,7 +736,7 @@ static void toggle_fast_forward(int force_off) static void SignalExit(int sig) { // only to restore framebuffer/resolution on some devices plat_finish(); - exit(1); + _exit(1); } #endif @@ -780,9 +780,6 @@ void SysClose() { } } -void SysUpdate() { -} - int get_state_filename(char *buf, int size, int i) { return get_gameid_filename(buf, size, "." STATES_DIR "%.32s-%.9s.%3.3d", i);