aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cine')
-rw-r--r--engines/cine/cine.cpp4
-rw-r--r--engines/cine/gfx.cpp4
2 files changed, 6 insertions, 2 deletions
diff --git a/engines/cine/cine.cpp b/engines/cine/cine.cpp
index cb61fbf1cd..644caecb6e 100644
--- a/engines/cine/cine.cpp
+++ b/engines/cine/cine.cpp
@@ -32,6 +32,8 @@
#include "backends/fs/fs.h"
+#include "graphics/cursorman.h"
+
#include "sound/mididrv.h"
#include "sound/mixer.h"
@@ -171,7 +173,7 @@ int CineEngine::init() {
}
int CineEngine::go() {
- _system->showMouse(true);
+ CursorMan.showMouse(true);
mainLoop(1);
diff --git a/engines/cine/gfx.cpp b/engines/cine/gfx.cpp
index 3c365e6e86..cc8f9ffe07 100644
--- a/engines/cine/gfx.cpp
+++ b/engines/cine/gfx.cpp
@@ -27,6 +27,8 @@
#include "common/system.h"
+#include "graphics/cursorman.h"
+
namespace Cine {
byte *screenBuffer;
@@ -116,7 +118,7 @@ void setMouseCursor(int cursor) {
}
++src;
}
- g_system->setMouseCursor(mouseCursor, 16, 16, mc->hotspotX, mc->hotspotY);
+ CursorMan.replaceCursor(mouseCursor, 16, 16, mc->hotspotX, mc->hotspotY);
currentMouseCursor = cursor;
}
}