From dcbbfa01c09854903666cce7ec855883b4257c00 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Sun, 9 Jul 2006 18:54:12 +0000 Subject: Instead of drawing the mouse cursor as a sprite, let the backend handle it svn-id: r23464 --- engines/gob/video_v1.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/gob/video_v1.cpp') 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(); -- cgit v1.2.3