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
This commit is contained in:
balrog 2007-06-21 17:56:50 +00:00
parent d60532ca8f
commit 731345e17b
1 changed files with 2 additions and 1 deletions

3
sdl.c
View File

@ -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: