From e5304457b4aa17cd7a96f8404ecca7c3db152909 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Tue, 25 Jan 2011 03:44:34 +0000 Subject: [PATCH] GOB: Add o7_oemToANSI I don't think that we'll need that :P svn-id: r55522 --- engines/gob/inter.h | 2 ++ engines/gob/inter_v7.cpp | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/engines/gob/inter.h b/engines/gob/inter.h index f8bf49aed0f..18b7260f781 100644 --- a/engines/gob/inter.h +++ b/engines/gob/inter.h @@ -610,6 +610,8 @@ protected: void o7_draw0xC5(); void o7_draw0xC6(); + void o7_oemToANSI(OpGobParams ¶ms); + private: void storeValue(uint16 index, uint16 type, uint32 value); void storeValue(uint32 value); diff --git a/engines/gob/inter_v7.cpp b/engines/gob/inter_v7.cpp index 89f071eeef2..9d76f483cf0 100644 --- a/engines/gob/inter_v7.cpp +++ b/engines/gob/inter_v7.cpp @@ -69,6 +69,8 @@ void Inter_v7::setupOpcodesFunc() { void Inter_v7::setupOpcodesGob() { Inter_Playtoons::setupOpcodesGob(); + + OPCODEGOB(420, o7_oemToANSI); } void Inter_v7::o7_draw0x0C() { @@ -313,4 +315,8 @@ void Inter_v7::storeValue(uint32 value) { storeValue(index, type, value); } +void Inter_v7::o7_oemToANSI(OpGobParams ¶ms) { + _vm->_game->_script->skip(2); +} + } // End of namespace Gob