mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
stub opcode E0 which makes moondemo and fbdemo start yay
svn-id: r6624
This commit is contained in:
parent
719784dd6a
commit
5c0cfe392b
@ -374,6 +374,7 @@ protected:
|
||||
void o6_findAllObjects();
|
||||
void o6_pickVarRandom();
|
||||
void o6_getDateTime();
|
||||
void o6_unknownE0();
|
||||
|
||||
byte VAR_VIDEONAME;
|
||||
|
||||
|
@ -324,7 +324,7 @@ void Scumm_v6::setupOpcodes()
|
||||
OPCODE(o6_deleteFile),
|
||||
OPCODE(o6_invalid),
|
||||
/* E0 */
|
||||
OPCODE(o6_invalid),
|
||||
OPCODE(o6_unknownE0),
|
||||
OPCODE(o6_invalid),
|
||||
OPCODE(o6_invalid),
|
||||
OPCODE(o6_pickVarRandom),
|
||||
@ -2982,6 +2982,23 @@ void Scumm_v6::o6_getDateTime()
|
||||
_vars[VAR_TIMEDATE_SECOND] = t->tm_sec;
|
||||
}
|
||||
|
||||
void Scumm_v6::o6_unknownE0() {
|
||||
int a = fetchScriptByte();
|
||||
warning("o6_unknownEO(%d) stub", a);
|
||||
a -= 222;
|
||||
if (a != 0) {
|
||||
a--;
|
||||
a--;
|
||||
if (a != 0) {
|
||||
return;
|
||||
}
|
||||
pop();
|
||||
return;
|
||||
}
|
||||
pop();
|
||||
return;
|
||||
}
|
||||
|
||||
void Scumm_v6::decodeParseString(int m, int n)
|
||||
{
|
||||
byte b;
|
||||
|
Loading…
Reference in New Issue
Block a user