diff options
author | Sven Hesse | 2006-07-09 18:54:12 +0000 |
---|---|---|
committer | Sven Hesse | 2006-07-09 18:54:12 +0000 |
commit | dcbbfa01c09854903666cce7ec855883b4257c00 (patch) | |
tree | b1d1c0cf044c9ebfc9f465f3dc22dce173ccbedd /engines/gob/video_v1.cpp | |
parent | 75e64b91defc913956767698b6d8eccc7bc59e7f (diff) | |
download | scummvm-rg350-dcbbfa01c09854903666cce7ec855883b4257c00.tar.gz scummvm-rg350-dcbbfa01c09854903666cce7ec855883b4257c00.tar.bz2 scummvm-rg350-dcbbfa01c09854903666cce7ec855883b4257c00.zip |
Instead of drawing the mouse cursor as a sprite, let the backend handle it
svn-id: r23464
Diffstat (limited to 'engines/gob/video_v1.cpp')
-rw-r--r-- | engines/gob/video_v1.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/gob/video_v1.cpp b/engines/gob/video_v1.cpp index 61b565bcc4..7f7910fad6 100644 --- a/engines/gob/video_v1.cpp +++ b/engines/gob/video_v1.cpp @@ -23,10 +23,12 @@ #include "common/stdafx.h" #include "common/endian.h" +#include "graphics/cursorman.h" #include "gob/gob.h" #include "gob/global.h" #include "gob/video.h" +#include "gob/draw.h" namespace Gob { @@ -36,6 +38,7 @@ Video_v1::Video_v1(GobEngine *vm) : Video(vm) { //XXX: Use this function to update the screen for now. // This should be moved to a better location later on. void Video_v1::waitRetrace(int16) { + CursorMan.showMouse((bool) (_vm->_draw->_showCursor & 2)); if (_vm->_global->_pPrimarySurfDesc) { g_system->copyRectToScreen(_vm->_global->_pPrimarySurfDesc->vidPtr, 320, 0, 0, 320, 200); g_system->updateScreen(); |