mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 17:03:13 +00:00
SCUMM: Implement football2002 u32 opcode 1028
Scoreboard transitions now play
This commit is contained in:
parent
8c3d2fc741
commit
f3fba31846
@ -45,6 +45,7 @@ private:
|
||||
int op_1022(int32 *args);
|
||||
int op_1023(int32 *args);
|
||||
int op_1024(int32 *args);
|
||||
int op_1028();
|
||||
};
|
||||
|
||||
int LogicHEfootball::versionID() {
|
||||
@ -83,6 +84,11 @@ int32 LogicHEfootball::dispatch(int op, int numArgs, int32 *args) {
|
||||
res = op_1024(args);
|
||||
break;
|
||||
|
||||
case 1028:
|
||||
// Backyard Football 2002 only
|
||||
res = op_1028();
|
||||
break;
|
||||
|
||||
case 8221968:
|
||||
// Someone had a fun and used his birthday as opcode number
|
||||
res = getFromArray(args[0], args[1], args[2]);
|
||||
@ -281,6 +287,12 @@ int LogicHEfootball::op_1024(int32 *args) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
int LogicHEfootball::op_1028() {
|
||||
// Backyard Football 2002 only
|
||||
writeScummVar(108, 100000000);
|
||||
return 1;
|
||||
}
|
||||
|
||||
LogicHE *makeLogicHEfootball(ScummEngine_v90he *vm) {
|
||||
return new LogicHEfootball(vm);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user