Windows - If the game is paused, savestate will not unpause automatically

This commit is contained in:
adelikat 2008-11-04 01:53:52 +00:00
parent 32487febfa
commit 10930203da
1 changed files with 8 additions and 3 deletions

View File

@ -829,9 +829,14 @@ void NDS_UnPause()
void StateSaveSlot(int num)
{
NDS_Pause();
savestate_slot(num);
NDS_UnPause();
if (!paused)
{
NDS_Pause();
savestate_slot(num);
NDS_UnPause();
}
else
savestate_slot(num);
}
void StateLoadSlot(int num)