aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/glk/debugger.cpp2
-rw-r--r--engines/glk/debugger.h4
-rw-r--r--engines/glk/glk.h2
3 files changed, 3 insertions, 5 deletions
diff --git a/engines/glk/debugger.cpp b/engines/glk/debugger.cpp
index 5978ddb486..b59b6c10cf 100644
--- a/engines/glk/debugger.cpp
+++ b/engines/glk/debugger.cpp
@@ -29,7 +29,7 @@
namespace Glk {
-Debugger::Debugger(GlkEngine *vm) : GUI::Debugger(), _vm(vm) {
+Debugger::Debugger() : GUI::Debugger() {
registerCmd("dumppic", WRAP_METHOD(Debugger, cmdDumpPic));
}
diff --git a/engines/glk/debugger.h b/engines/glk/debugger.h
index 0555829a95..23584eedc3 100644
--- a/engines/glk/debugger.h
+++ b/engines/glk/debugger.h
@@ -34,8 +34,6 @@ class GlkEngine;
class Debugger : public GUI::Debugger {
private:
- GlkEngine *_vm;
-
/**
* Saves a decoded raw image to a PNG file
*/
@@ -51,7 +49,7 @@ protected:
*/
int strToInt(const char *s);
public:
- Debugger(GlkEngine *vm);
+ Debugger();
};
} // End of namespace Glk
diff --git a/engines/glk/glk.h b/engines/glk/glk.h
index e6516f1ee1..79e5425e81 100644
--- a/engines/glk/glk.h
+++ b/engines/glk/glk.h
@@ -103,7 +103,7 @@ protected:
* Creates a debugger instance
*/
virtual Debugger *createDebugger() {
- return new Debugger(this);
+ return new Debugger();
}
/**