diff options
author | Johannes Schickel | 2011-11-18 03:47:51 +0100 |
---|---|---|
committer | Johannes Schickel | 2011-11-18 03:47:51 +0100 |
commit | cfac223cee7cc8136fdf43dea1465a1b060a803b (patch) | |
tree | 6bf6b6800b3db6b126db256705f468cf54179941 /engines/kyra/debugger.h | |
parent | 11a7993085d30f113fc7a8cc85c4202717be21e8 (diff) | |
download | scummvm-rg350-cfac223cee7cc8136fdf43dea1465a1b060a803b.tar.gz scummvm-rg350-cfac223cee7cc8136fdf43dea1465a1b060a803b.tar.bz2 scummvm-rg350-cfac223cee7cc8136fdf43dea1465a1b060a803b.zip |
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.
Diffstat (limited to 'engines/kyra/debugger.h')
-rw-r--r-- | engines/kyra/debugger.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; |