diff options
| author | James Brown | 2004-10-15 10:42:44 +0000 |
|---|---|---|
| committer | James Brown | 2004-10-15 10:42:44 +0000 |
| commit | 15c184cc12eebb97d0a4c9ecddb056b5b30a0fe6 (patch) | |
| tree | 5af7fdde84ddf0d06fc83fb77ad8399ba80ebb12 /kyra/script_v1.cpp | |
| parent | a5e188b9d826e6f1c088ab716c82079a7342260e (diff) | |
| download | scummvm-rg350-15c184cc12eebb97d0a4c9ecddb056b5b30a0fe6.tar.gz scummvm-rg350-15c184cc12eebb97d0a4c9ecddb056b5b30a0fe6.tar.bz2 scummvm-rg350-15c184cc12eebb97d0a4c9ecddb056b5b30a0fe6.zip | |
Fix opcodes.
svn-id: r15556
Diffstat (limited to 'kyra/script_v1.cpp')
| -rw-r--r-- | kyra/script_v1.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/kyra/script_v1.cpp b/kyra/script_v1.cpp index 8b306f52e1..a224107760 100644 --- a/kyra/script_v1.cpp +++ b/kyra/script_v1.cpp @@ -217,4 +217,22 @@ namespace Kyra { pushStack(res); } + + // opcode procs + void VMContext::o1_unknownOpcode(void) { + _error = true; + + debug("unknown opcode '0x%x'.", _argument); + debug("parameters:\n" + "Param0: %d\nParam1: %d\nParam2: %d\nParam3: %d\nParam4: %d\nParam5: %d\n" + "Param0 as a string: %s\nParam1 as a string: %s\nParam2 as a string: %s\n" + "Param3 as a string: %s\nParam4 as a string: %s\nParam5 as a string: %s\n", + param(0), param(1), param(2), param(3), param(5), param(5), + paramString(0), paramString(1), paramString(2), paramString(3), + paramString(4), paramString(5)); + } + + void VMContext::o1_0x68(void) { + debug("o1_0x68 was called with param0: '%d' and param1: '%d'", param(0), param(1)); + } } // end of namespace Kyra |
