diff options
Diffstat (limited to 'engines/gob/inter_geisha.cpp')
-rw-r--r-- | engines/gob/inter_geisha.cpp | 10 |
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 ¶ms) { + if (_vm->_game->_script->peekByte(1) & 0x80) + warning("Geisha Stub: oGeisha_loadCursor: script[1] & 0x80"); + + o1_loadCursor(params); +} + void Inter_Geisha::oGeisha_loadSound(OpFuncParams ¶ms) { loadSound(-1); } |