aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Thomas2009-12-24 08:35:11 +0000
committerScott Thomas2009-12-24 08:35:11 +0000
commita55e0531e8ffae3e957f1f1e320b8bf5152f09db (patch)
tree8e25b62bc01498399b6ebc75ff2ce7c43d42a34d
parentb2ae0e56c5f2870cdbcab20d89b9068d6be5f2f8 (diff)
downloadscummvm-rg350-a55e0531e8ffae3e957f1f1e320b8bf5152f09db.tar.gz
scummvm-rg350-a55e0531e8ffae3e957f1f1e320b8bf5152f09db.tar.bz2
scummvm-rg350-a55e0531e8ffae3e957f1f1e320b8bf5152f09db.zip
11H: Add some more opcode stubs
svn-id: r46524
-rw-r--r--engines/groovie/script.cpp18
-rw-r--r--engines/groovie/script.h2
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();
};