diff options
Diffstat (limited to 'sword2/console.h')
-rw-r--r-- | sword2/console.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sword2/console.h b/sword2/console.h index afe3fa7480..87ef12f562 100644 --- a/sword2/console.h +++ b/sword2/console.h @@ -27,11 +27,13 @@ #if USE_CONSOLE #include "gui/console.h" - #define Debug_Printf g_sword2->_debuggerDialog->printf + #define Debug_Printf g_sword2->_debugger->_debuggerDialog->printf #else #define Debug_Printf printf #endif +class ConsoleDialog; + namespace Sword2 { extern bool grabbingSequences; @@ -76,7 +78,10 @@ protected: bool _detach_now; bool _isAttached; char *_errStr; +public: + ConsoleDialog *_debuggerDialog; // Should be protected, but is public now for Debug_Printf +protected: void enter(); void detach(); |