mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
wait for button release after save load
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@490 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
e53704e691
commit
5ed2561c91
4 changed files with 7 additions and 1 deletions
|
@ -1545,6 +1545,7 @@ static void menu_loop_root(void)
|
|||
if (rom_loaded) {
|
||||
if(savestate_menu_loop(1))
|
||||
continue;
|
||||
while (gp2x_joystick_read(1) & GP2X_B) usleep(50*1000);
|
||||
engineState = PGS_Running;
|
||||
return;
|
||||
}
|
||||
|
@ -1552,6 +1553,7 @@ static void menu_loop_root(void)
|
|||
case MA_MAIN_RESET_GAME:
|
||||
if (rom_loaded) {
|
||||
emu_ResetGame();
|
||||
while (gp2x_joystick_read(1) & GP2X_B) usleep(50*1000);
|
||||
engineState = PGS_Running;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue