aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gob/inter.h1
-rw-r--r--engines/gob/inter_v7.cpp7
2 files changed, 8 insertions, 0 deletions
diff --git a/engines/gob/inter.h b/engines/gob/inter.h
index bd060b951a..3810df9024 100644
--- a/engines/gob/inter.h
+++ b/engines/gob/inter.h
@@ -623,6 +623,7 @@ protected:
void o7_getDBString();
void o7_oemToANSI(OpGobParams &params);
+ void o7_gob0x201(OpGobParams &params);
private:
INIConfig _inis;
diff --git a/engines/gob/inter_v7.cpp b/engines/gob/inter_v7.cpp
index f1a12b9b31..a25c2079a4 100644
--- a/engines/gob/inter_v7.cpp
+++ b/engines/gob/inter_v7.cpp
@@ -81,6 +81,7 @@ void Inter_v7::setupOpcodesGob() {
Inter_Playtoons::setupOpcodesGob();
OPCODEGOB(420, o7_oemToANSI);
+ OPCODEGOB(513, o7_oemToANSI);
}
void Inter_v7::o7_draw0x0C() {
@@ -591,4 +592,10 @@ void Inter_v7::storeString(const char *value) {
storeString(varIndex, type, value);
}
+void Inter_v7::o7_gob0x201(OpGobParams &params) {
+ uint16 varIndex = _vm->_game->_script->readUint16();
+
+ WRITE_VAR(varIndex, 1);
+}
+
} // End of namespace Gob