aboutsummaryrefslogtreecommitdiff
path: root/scumm/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/debug.cpp')
-rw-r--r--scumm/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/debug.cpp b/scumm/debug.cpp
index 2ee1878678..22c46d003d 100644
--- a/scumm/debug.cpp
+++ b/scumm/debug.cpp
@@ -140,7 +140,7 @@ bool ScummDebugger::do_command()
}
return true;
case CMD_QUIT:
- exit(1);
+ _s->_system->quit();
default: /* this line is never reached */
error("Unknown debug command");