提交 731345e1 编写于 作者: B balrog

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
上级 d60532ca
...@@ -451,7 +451,8 @@ static void sdl_refresh(DisplayState *ds) ...@@ -451,7 +451,8 @@ static void sdl_refresh(DisplayState *ds)
break; break;
case SDL_QUIT: case SDL_QUIT:
if (!no_quit) { if (!no_quit) {
qemu_system_shutdown_request(); qemu_system_shutdown_request();
vm_start(); /* In case we're paused */
} }
break; break;
case SDL_MOUSEMOTION: case SDL_MOUSEMOTION:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册