diff options
author | Filippos Karapetis | 2009-07-03 14:22:50 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-07-03 14:22:50 +0000 |
commit | 6fa8541aed68e72fd4f1cdeb13a46ec95547b275 (patch) | |
tree | 6d4fd58ddf8c42bb34ccf153273cb9e441e30534 /engines/sci/tools.cpp | |
parent | 69da51e71d71bb700a4e5e5419f64f482cb9fabc (diff) | |
download | scummvm-rg350-6fa8541aed68e72fd4f1cdeb13a46ec95547b275.tar.gz scummvm-rg350-6fa8541aed68e72fd4f1cdeb13a46ec95547b275.tar.bz2 scummvm-rg350-6fa8541aed68e72fd4f1cdeb13a46ec95547b275.zip |
- Pushed debugstate into debug.h
- When an error occurs, manipulate the execution stack before error() opens the console inside getDebugger(), like FreeSCI did. Added another method for obtaining the SCI console for use by the engine itself.
svn-id: r42062
Diffstat (limited to 'engines/sci/tools.cpp')
-rw-r--r-- | engines/sci/tools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/tools.cpp b/engines/sci/tools.cpp index 589ce298d7..d0e11aca09 100644 --- a/engines/sci/tools.cpp +++ b/engines/sci/tools.cpp @@ -70,7 +70,7 @@ void sciprintf(const char *fmt, ...) { // Display the result suitably if (g_redirect_sciprintf_to_gui) - ((SciEngine *)g_engine)->getDebugger()->DebugPrintf("%s", buf); + ((SciEngine *)g_engine)->getSciDebugger()->DebugPrintf("%s", buf); printf("%s", buf); free(buf); |