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:
notaz 2008-06-22 22:30:50 +00:00
parent e53704e691
commit 5ed2561c91
4 changed files with 7 additions and 1 deletions

View file

@ -1430,6 +1430,7 @@ static void menu_loop_root(void)
if (rom_loaded) {
if(savestate_menu_loop(1))
continue;
while (Framework_PollGetButtons() & BTN_PLAY) Sleep(50);
engineState = PGS_Running;
return;
}
@ -1437,6 +1438,7 @@ static void menu_loop_root(void)
case MA_MAIN_RESET_GAME:
if (rom_loaded) {
emu_ResetGame();
while (Framework_PollGetButtons() & BTN_PLAY) Sleep(50);
engineState = PGS_Running;
return;
}