From cfac223cee7cc8136fdf43dea1465a1b060a803b Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 18 Nov 2011 03:47:51 +0100 Subject: KYRA: "Fix" bug #3166235 "KYRA: Crash on startup on OS X due to invalid PAK file". Now we can show such errors in the debugger, since we initialize and the screen resolution and the debugger before initializing the resource manager. This allows our error function to open up the debugger and show the error at least. A better feedback to the user might be desirable, but it is not really feasible with our current possibilites for error reporting. --- engines/kyra/debugger.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines/kyra/debugger.h') diff --git a/engines/kyra/debugger.h b/engines/kyra/debugger.h index 09ddd89a7a..e9c0a6a98a 100644 --- a/engines/kyra/debugger.h +++ b/engines/kyra/debugger.h @@ -37,6 +37,8 @@ public: Debugger(KyraEngine_v1 *vm); virtual ~Debugger() {} // we need this for __SYMBIAN32__ archaic gcc/UIQ + virtual void initialize(); + protected: KyraEngine_v1 *_vm; @@ -56,6 +58,7 @@ public: Debugger_LoK(KyraEngine_LoK *vm); virtual ~Debugger_LoK() {} // we need this for __SYMBIAN32__ archaic gcc/UIQ + virtual void initialize(); protected: KyraEngine_LoK *_vm; @@ -70,6 +73,7 @@ public: Debugger_v2(KyraEngine_v2 *vm); virtual ~Debugger_v2() {} + virtual void initialize(); protected: KyraEngine_v2 *_vm; @@ -85,6 +89,7 @@ class Debugger_HoF : public Debugger_v2 { public: Debugger_HoF(KyraEngine_HoF *vm); + virtual void initialize(); protected: KyraEngine_HoF *_vm; -- cgit v1.2.3