Commit 731345e17b8a34f88eeb75c582f19e9790e7d834
1 parent
d60532ca
Unpause the emulation after shutdown request on SDL close, so that it can take effect.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2989 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
1 deletions
sdl.c
... | ... | @@ -451,7 +451,8 @@ static void sdl_refresh(DisplayState *ds) |
451 | 451 | break; |
452 | 452 | case SDL_QUIT: |
453 | 453 | if (!no_quit) { |
454 | - qemu_system_shutdown_request(); | |
454 | + qemu_system_shutdown_request(); | |
455 | + vm_start(); /* In case we're paused */ | |
455 | 456 | } |
456 | 457 | break; |
457 | 458 | case SDL_MOUSEMOTION: | ... | ... |