Another HE opcode

svn-id: r15029
This commit is contained in:
Travis Howell 2004-09-12 11:15:26 +00:00
parent 951131e7c2
commit a1c22f9d7f
2 changed files with 12 additions and 1 deletions

View File

@ -826,6 +826,7 @@ protected:
void o90_unknown2F();
void o90_mod();
void o90_unknown34();
void o90_unknown36();
void o90_unknown37();
void o90_unknown9E();
};

View File

@ -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();