aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/console.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-10-13 16:22:07 +0000
committerFilippos Karapetis2009-10-13 16:22:07 +0000
commit5aa141539786c4f905addfd0c05f6e00dfd3afd7 (patch)
treeee34240f79b851cf67ece18fab3efd69c383c0a8 /engines/sci/console.cpp
parent7cefc4cc989ba7606e6473db9a56c14e30326c24 (diff)
downloadscummvm-rg350-5aa141539786c4f905addfd0c05f6e00dfd3afd7.tar.gz
scummvm-rg350-5aa141539786c4f905addfd0c05f6e00dfd3afd7.tar.bz2
scummvm-rg350-5aa141539786c4f905addfd0c05f6e00dfd3afd7.zip
Merged the cursor manipulation code - cursor views are still not done
svn-id: r45028
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r--engines/sci/console.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index eceac555de..1dfd70b403 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -42,6 +42,7 @@
#include "sci/sfx/sci_midi.h"
#include "sci/vocabulary.h"
#include "sci/gui/gui.h"
+#include "sci/gui/gui_cursor.h"
#include "common/savefile.h"
@@ -1196,7 +1197,7 @@ bool Console::cmdVisualState(int argc, const char **argv) {
}
bool Console::cmdFlushPorts(int argc, const char **argv) {
- gfxop_set_pointer_cursor(_vm->_gamestate->gfx_state, GFXOP_NO_POINTER);
+ _vm->_gamestate->_cursor->setShape(GFXOP_NO_POINTER);
DebugPrintf("Flushing dynamically allocated ports (for memory profiling)...\n");
delete _vm->_gamestate->visual;
_vm->_gamestate->gfx_state->gfxResMan->freeAllResources();