diff options
author | Travis Howell | 2004-08-15 07:40:09 +0000 |
---|---|---|
committer | Travis Howell | 2004-08-15 07:40:09 +0000 |
commit | 4f4b5c713d07d6c1677c72e1847b9dfed7bb95d0 (patch) | |
tree | d2bedd4a3e38cae1989c6edd7858284f998dc587 | |
parent | d8dbb063b52810535c9ed50e8b585d9df668e62d (diff) | |
download | scummvm-rg350-4f4b5c713d07d6c1677c72e1847b9dfed7bb95d0.tar.gz scummvm-rg350-4f4b5c713d07d6c1677c72e1847b9dfed7bb95d0.tar.bz2 scummvm-rg350-4f4b5c713d07d6c1677c72e1847b9dfed7bb95d0.zip |
Add missing code
Not sure where they are used though.
svn-id: r14621
-rw-r--r-- | scumm/script_v8.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index bc59b3bb6d..0c986e840b 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -1383,9 +1383,10 @@ void ScummEngine_v8::o8_kernelGetFunctions() { push(getKeyState(args[1])); break; case 0xCE: // getRGBSlot + push(remapPaletteColor(args[1], args[2], args[3], (uint) - 1)); + break; case 0xD7: // getBox - push(0); - warning("o8_kernelGetFunctions: default case 0x%x (len = %d)", args[0], len); + push(checkXYInBoxBounds(args[3], args[1], args[2])); break; case 0xD8: { // findBlastObject int x = args[1] + (camera._cur.x & 7); |