aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_geisha.cpp
diff options
context:
space:
mode:
authorSven Hesse2011-08-26 06:09:56 +0200
committerSven Hesse2011-08-26 06:09:56 +0200
commite20b90543d05b8e2c6e97004be36e43d5c671aa7 (patch)
tree75d5597e4814431dd9034759ad9623ea348e2920 /engines/gob/inter_geisha.cpp
parent479eeb7e47e8bb27551ba49f7d37c36b3b1b88ee (diff)
downloadscummvm-rg350-e20b90543d05b8e2c6e97004be36e43d5c671aa7.tar.gz
scummvm-rg350-e20b90543d05b8e2c6e97004be36e43d5c671aa7.tar.bz2
scummvm-rg350-e20b90543d05b8e2c6e97004be36e43d5c671aa7.zip
GOB: Fix the Geisha cursor
Diffstat (limited to 'engines/gob/inter_geisha.cpp')
-rw-r--r--engines/gob/inter_geisha.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/gob/inter_geisha.cpp b/engines/gob/inter_geisha.cpp
index e3f3a24a98..98e904a11c 100644
--- a/engines/gob/inter_geisha.cpp
+++ b/engines/gob/inter_geisha.cpp
@@ -26,7 +26,9 @@
#include "gob/inter.h"
#include "gob/dataio.h"
#include "gob/script.h"
+#include "gob/resources.h"
#include "gob/game.h"
+#include "gob/draw.h"
#include "gob/sound/sound.h"
#include "gob/sound/sounddesc.h"
@@ -47,12 +49,20 @@ void Inter_Geisha::setupOpcodesDraw() {
void Inter_Geisha::setupOpcodesFunc() {
Inter_v1::setupOpcodesFunc();
+ OPCODEFUNC(0x03, oGeisha_loadCursor);
OPCODEFUNC(0x3A, oGeisha_loadSound);
}
void Inter_Geisha::setupOpcodesGob() {
}
+void Inter_Geisha::oGeisha_loadCursor(OpFuncParams &params) {
+ if (_vm->_game->_script->peekByte(1) & 0x80)
+ warning("Geisha Stub: oGeisha_loadCursor: script[1] & 0x80");
+
+ o1_loadCursor(params);
+}
+
void Inter_Geisha::oGeisha_loadSound(OpFuncParams &params) {
loadSound(-1);
}