diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/groovie/script.cpp | 18 | ||||
-rw-r--r-- | engines/groovie/script.h | 2 |
2 files changed, 18 insertions, 2 deletions
diff --git a/engines/groovie/script.cpp b/engines/groovie/script.cpp index 1d56b51b5b..ea211a62f2 100644 --- a/engines/groovie/script.cpp +++ b/engines/groovie/script.cpp @@ -1600,6 +1600,20 @@ void Script::o2_vdxtransition() { } } +void Script::o2_copyscreentobg() { + uint16 val = readScript16bits(); + + debugScript(1, true, "CopyScreenToBG3: 0x%04X", val); + error("Unimplemented Opcode 0x4F"); +} + +void Script::o2_copybgtoscreen() { + uint16 val = readScript16bits(); + + debugScript(1, true, "CopyBG3ToScreen: 0x%04X", val); + error("Unimplemented Opcode 0x50"); +} + void Script::o2_setvideoskip() { _videoSkipAddress = readScript16bits(); debugScript(1, true, "SetVideoSkip (0x%04X)", _videoSkipAddress); @@ -1791,8 +1805,8 @@ Script::OpcodeFunc Script::_opcodesV2[NUM_OPCODES] = { &Script::o_invalid, // 0x4C &Script::o_invalid, &Script::o_invalid, - &Script::o_nop16, - &Script::o_nop16, // 0x50 + &Script::o2_copyscreentobg, + &Script::o2_copybgtoscreen, // 0x50 &Script::o2_setvideoskip, &Script::o2_stub52, &Script::o_hotspot_outrect, diff --git a/engines/groovie/script.h b/engines/groovie/script.h index 9e35d6fcde..d9752e484d 100644 --- a/engines/groovie/script.h +++ b/engines/groovie/script.h @@ -230,6 +230,8 @@ private: void o2_videofromref(); void o2_vdxtransition(); void o2_setvideoskip(); + void o2_copyscreentobg(); + void o2_copybgtoscreen(); void o2_stub52(); void o2_setscriptend(); }; |