mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-25 22:07:34 +00:00
Add missing opcode needed for Spanish version (And maybe others?) of Full Throttle, patch #838309
svn-id: r11201
This commit is contained in:
parent
cec821630b
commit
27bb10900e
@ -2542,6 +2542,12 @@ void ScummEngine_v6::o6_kernelSetFunctions() {
|
||||
case 124:
|
||||
_saveSound = args[1];
|
||||
break;
|
||||
case 215:
|
||||
if (args[1])
|
||||
_noSubtitles = false;
|
||||
else
|
||||
_noSubtitles = true;
|
||||
break;
|
||||
default:
|
||||
error("o6_kernelSetFunctions: default case %d (param count %d)", args[0], num);
|
||||
break;
|
||||
@ -2661,6 +2667,7 @@ void ScummEngine_v6::o6_kernelSetFunctions() {
|
||||
void ScummEngine_v6::o6_kernelGetFunctions() {
|
||||
int args[30];
|
||||
int i;
|
||||
int slot;
|
||||
Actor *a;
|
||||
|
||||
getStackList(args, ARRAYSIZE(args));
|
||||
@ -2745,6 +2752,14 @@ void ScummEngine_v6::o6_kernelGetFunctions() {
|
||||
// This is used by walk scripts
|
||||
push(a->frame);
|
||||
break;
|
||||
case 213:
|
||||
slot = getVerbSlot(args[1], 0);
|
||||
push(_verbs[slot].x);
|
||||
break;
|
||||
case 214:
|
||||
slot = getVerbSlot(args[1], 0);
|
||||
push(_verbs[slot].y);
|
||||
break;
|
||||
case 215:
|
||||
if ((_extraBoxFlags[args[1]] & 0x00FF) == 0x00C0) {
|
||||
push(_extraBoxFlags[args[1]]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user