diff options
Diffstat (limited to 'engines/simon/simon.cpp')
-rw-r--r-- | engines/simon/simon.cpp | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/engines/simon/simon.cpp b/engines/simon/simon.cpp index 2e0c2712f3..74ed56eb03 100644 --- a/engines/simon/simon.cpp +++ b/engines/simon/simon.cpp @@ -36,9 +36,6 @@ #include "simon/vga.h" #include "sound/mididrv.h" -#ifdef _WIN32_WCE -extern bool isSmartphone(void); -#endif #ifdef PALMOS_68K #include "globals.h" @@ -611,22 +608,8 @@ SimonEngine::~SimonEngine() { delete _sound; } -void SimonEngine::errorString(const char *buf1, char *buf2) { - strcpy(buf2, buf1); - -#ifdef _WIN32_WCE - if (isSmartphone()) - return; -#endif - - // Unless an error -originated- within the debugger, spawn the - // debugger. Otherwise exit out normally. - if (_debugger && !_debugger->isAttached()) { - // (Print it again in case debugger segfaults) - printf("%s\n", buf2); - _debugger->attach(buf2); - _debugger->onFrame(); - } +GUI::Debugger *SimonEngine::getDebugger() { + return _debugger; } void SimonEngine::paletteFadeOut(byte *palPtr, uint num, uint size) { |