diff options
Diffstat (limited to 'engines/pegasus/pegasus.cpp')
-rw-r--r-- | engines/pegasus/pegasus.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/pegasus/pegasus.cpp b/engines/pegasus/pegasus.cpp index bd281cdae5..ae83a058c6 100644 --- a/engines/pegasus/pegasus.cpp +++ b/engines/pegasus/pegasus.cpp @@ -30,6 +30,7 @@ #include "base/version.h" #include "gui/saveload.h" +#include "pegasus/console.h" #include "pegasus/pegasus.h" //#define RUN_SUB_MOVIE // :D :D :D :D :D :D @@ -47,9 +48,11 @@ PegasusEngine::~PegasusEngine() { delete _resFork; delete _inventoryLid; delete _biochipLid; + delete _console; } Common::Error PegasusEngine::run() { + _console = new PegasusConsole(this); _gfx = new GraphicsManager(this); _video = new VideoManager(this); _sound = new SoundManager(this); @@ -332,4 +335,8 @@ Common::String PegasusEngine::getTimeZoneFolder(TimeZone timeZone) { return getTimeZoneDesc(timeZone); } +GUI::Debugger *PegasusEngine::getDebugger() { + return _console; +} + } // End of namespace Pegasus |