diff options
author | Max Horn | 2003-05-14 20:37:53 +0000 |
---|---|---|
committer | Max Horn | 2003-05-14 20:37:53 +0000 |
commit | f495c14d84e77ea1e6c38b4844c68b4f2cb915ab (patch) | |
tree | 2568860bdeb544f7a5acd247634126c790e23a17 /scumm/script_v8.cpp | |
parent | eb22ea3b96b4e76b6ac717490d33abbb314acb62 (diff) | |
download | scummvm-rg350-f495c14d84e77ea1e6c38b4844c68b4f2cb915ab.tar.gz scummvm-rg350-f495c14d84e77ea1e6c38b4844c68b4f2cb915ab.tar.bz2 scummvm-rg350-f495c14d84e77ea1e6c38b4844c68b4f2cb915ab.zip |
opcodes are just one byte
svn-id: r7513
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r-- | scumm/script_v8.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index 34d6174f19..02b02a0927 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -361,12 +361,12 @@ void Scumm_v8::setupOpcodes() { _opcodesV8 = opcodes; } -void Scumm_v8::executeOpcode(int i) { +void Scumm_v8::executeOpcode(byte i) { OpcodeProcV8 op = _opcodesV8[i].proc; (this->*op) (); } -const char *Scumm_v8::getOpcodeDesc(int i) { +const char *Scumm_v8::getOpcodeDesc(byte i) { return _opcodesV8[i].desc; } |