aboutsummaryrefslogtreecommitdiff
path: root/engines/sky/sky.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sky/sky.cpp')
-rw-r--r--engines/sky/sky.cpp19
1 files changed, 2 insertions, 17 deletions
diff --git a/engines/sky/sky.cpp b/engines/sky/sky.cpp
index 48b3b1515b..f30a98a9bc 100644
--- a/engines/sky/sky.cpp
+++ b/engines/sky/sky.cpp
@@ -55,7 +55,6 @@
extern bool toolbar_drawn;
extern bool draw_keyboard;
-extern bool isSmartphone(void);
#endif
/*
@@ -148,22 +147,8 @@ SkyEngine::~SkyEngine() {
free(_itemList[i]);
}
-void SkyEngine::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 *SkyEngine::getDebugger() {
+ return _debugger;
}
void SkyEngine::initVirgin() {