diff options
author | Filippos Karapetis | 2009-06-03 14:09:25 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-06-03 14:09:25 +0000 |
commit | 317da8756e1d350167739d82b128fc5fcd70687e (patch) | |
tree | 072da67dde576170258faa284146485b6cb837a0 /engines/sci/gfx | |
parent | dcbc6e7e695dcf35a36fc436c9318fd2648b1099 (diff) | |
download | scummvm-rg350-317da8756e1d350167739d82b128fc5fcd70687e.tar.gz scummvm-rg350-317da8756e1d350167739d82b128fc5fcd70687e.tar.bz2 scummvm-rg350-317da8756e1d350167739d82b128fc5fcd70687e.zip |
- Moved the engine state and the console to be private members of SciEngine
- Implemented pauseEngineIntern()
- Music now stops and resumes when entering/leaving the debugger
svn-id: r41139
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r-- | engines/sci/gfx/operations.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp index 14be83b9aa..7ab1bc28cd 100644 --- a/engines/sci/gfx/operations.cpp +++ b/engines/sci/gfx/operations.cpp @@ -1457,8 +1457,8 @@ static sci_event_t scummvm_get_event(gfx_driver_t *drv) { // Debug console if (ev.kbd.flags == Common::KBD_CTRL && ev.kbd.keycode == Common::KEYCODE_d) { // Open debug console - ((Sci::SciEngine*)g_engine)->_console->attach(); - ((Sci::SciEngine*)g_engine)->_console->onFrame(); + ((Sci::SciEngine*)g_engine)->getDebugger()->attach(); + ((Sci::SciEngine*)g_engine)->getDebugger()->onFrame(); // Clear keyboard event input.type = SCI_EVT_NONE; |