diff options
author | James Brown | 2002-09-17 04:52:50 +0000 |
---|---|---|
committer | James Brown | 2002-09-17 04:52:50 +0000 |
commit | 79857fd7e8b7d0a3585d699fc5c422841838e1d0 (patch) | |
tree | 913407cad3540d426304fcdae739333dee3a3b00 /scumm/debug.cpp | |
parent | e4ce428bddb7cf53c91cc1f5374ca3928b631245 (diff) | |
download | scummvm-rg350-79857fd7e8b7d0a3585d699fc5c422841838e1d0.tar.gz scummvm-rg350-79857fd7e8b7d0a3585d699fc5c422841838e1d0.tar.bz2 scummvm-rg350-79857fd7e8b7d0a3585d699fc5c422841838e1d0.zip |
Replace some exit()'s with a call to the OSystem quit method, as per 610251.
svn-id: r4956
Diffstat (limited to 'scumm/debug.cpp')
-rw-r--r-- | scumm/debug.cpp | 2 |
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"); |