mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 09:49:11 +00:00
Another HE opcode
svn-id: r15029
This commit is contained in:
parent
951131e7c2
commit
a1c22f9d7f
@ -826,6 +826,7 @@ protected:
|
||||
void o90_unknown2F();
|
||||
void o90_mod();
|
||||
void o90_unknown34();
|
||||
void o90_unknown36();
|
||||
void o90_unknown37();
|
||||
void o90_unknown9E();
|
||||
};
|
||||
|
@ -112,7 +112,7 @@ void ScummEngine_v90he::setupOpcodes() {
|
||||
/* 34 */
|
||||
OPCODE(o90_unknown34),
|
||||
OPCODE(o6_invalid),
|
||||
OPCODE(o6_invalid),
|
||||
OPCODE(o90_unknown36),
|
||||
OPCODE(o90_unknown37),
|
||||
/* 38 */
|
||||
OPCODE(o6_invalid),
|
||||
@ -833,6 +833,16 @@ void ScummEngine_v90he::o90_unknown34() {
|
||||
push(readVar(0));
|
||||
}
|
||||
|
||||
void ScummEngine_v90he::o90_unknown36() {
|
||||
int a = pop();
|
||||
int b = pop();
|
||||
int c = pop();
|
||||
|
||||
if (!c)
|
||||
b = a;
|
||||
push(b);
|
||||
}
|
||||
|
||||
void ScummEngine_v90he::o90_unknown37() {
|
||||
int data, dim1start, dim1end, dim2start, dim2end;
|
||||
int type = fetchScriptByte();
|
||||
|
Loading…
Reference in New Issue
Block a user