android: only restart if game is running
Fixes MINIDUMP-G1, MINIDUMP-FV, MINIDUMP-FY, MINIDUMP-FD, MINIDUMP-F2, MINIDUMP-EN
This commit is contained in:
parent
cd6152b193
commit
cab02c86bc
|
@ -356,7 +356,7 @@ extern "C" JNIEXPORT void JNICALL Java_com_reicast_emulator_emu_JNIdc_pause(JNIE
|
|||
stopEmu();
|
||||
gui_stop_game();
|
||||
}
|
||||
else if (stopEmu())
|
||||
else if (game_started && stopEmu())
|
||||
{
|
||||
game_started = true; // restart when resumed
|
||||
if (config::AutoSaveState)
|
||||
|
|
Loading…
Reference in New Issue