mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 07:23:05 +00:00
Exit more gracefully when a quit event is triggered
svn-id: r31966
This commit is contained in:
parent
a83d79bafd
commit
3f3ba85bf1
@ -174,8 +174,7 @@ int16 ScriptFunctionsLgop2::o1_EVENT(int16 argc, int16 *argv) {
|
||||
break;
|
||||
|
||||
case Common::EVENT_QUIT:
|
||||
// TODO: Exit more gracefully.
|
||||
g_system->quit();
|
||||
_vm->_quit = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -179,8 +179,7 @@ int16 ScriptFunctionsMhne::o1_EVENT(int16 argc, int16 *argv) {
|
||||
break;
|
||||
|
||||
case Common::EVENT_QUIT:
|
||||
// TODO: Exit more gracefully.
|
||||
g_system->quit();
|
||||
_vm->_quit = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
@ -222,8 +222,7 @@ int16 ScriptFunctionsRtz::o1_EVENT(int16 argc, int16 *argv) {
|
||||
break;
|
||||
|
||||
case Common::EVENT_QUIT:
|
||||
// TODO: Exit more gracefully.
|
||||
g_system->quit();
|
||||
_vm->_quit = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user