sdl: use emu_halt before loading savestates, just like win32

This commit is contained in:
rofl0r 2021-10-26 16:39:25 +00:00
parent d3dee7ce9c
commit 7db8f4fcd6
1 changed files with 1 additions and 0 deletions

View File

@ -565,6 +565,7 @@ process_ctrls_event( SDL_Event& event,
case SDLK_F10:
int prevexec;
prevexec = execute;
emu_halt(EMUHALT_REASON_USER_REQUESTED_HALT, NDSErrorTag_None);
execute = FALSE;
SPU_Pause(1);
if(!shift_pressed){