Put missing check_state() in some places

Fixes a few verification failures while closing the emulator with HLE liblv2
This commit is contained in:
eladash 2019-04-01 15:30:44 +03:00 committed by Ivan
parent 888cb9d673
commit 2b4bc588dc
3 changed files with 19 additions and 1 deletions

View file

@ -381,7 +381,10 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
selected = Emu.GetCallbacks().get_save_dialog()->ShowSaveDataList(save_entries, focused, operation, listSet);
// Reschedule
ppu.check_state();
if (ppu.check_state())
{
return 0;
}
// UI returns -1 for new save games
if (selected == -1)