diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-21 17:56:50 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-06-21 17:56:50 +0000 |
commit | 731345e17b8a34f88eeb75c582f19e9790e7d834 (patch) | |
tree | d056f9e71c02706615709d0aaa381bdd54efa789 /sdl.c | |
parent | d60532ca8f551d226b2a1cab46fb4d6611ee0ea8 (diff) |
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
Diffstat (limited to 'sdl.c')
-rw-r--r-- | sdl.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -451,7 +451,8 @@ static void sdl_refresh(DisplayState *ds) break; case SDL_QUIT: if (!no_quit) { - qemu_system_shutdown_request(); + qemu_system_shutdown_request(); + vm_start(); /* In case we're paused */ } break; case SDL_MOUSEMOTION: |