Apply patch to add 'monkeyvga' target for MI1 Floppy.

svn-id: r4076
This commit is contained in:
James Brown 2002-04-25 03:37:56 +00:00
parent fb5e38d454
commit 2334c4778b
4 changed files with 14 additions and 3 deletions

View file

@ -778,6 +778,13 @@ void Scumm::o5_actorSet()
a->width = getVarOrDirectByte(0x80);
break;
case 17: /* scale */
// FIXME: 0x11 is definitly an one byte opcode in MI1 256 col Floppy !
// but it's not 1, 9, 16, 19, 22 or 23 (testet), what else ?
if (_gameId & GID_MONKEY_VGA) {
warning("o5_actorset: unk opcode 0x11 (%d)", getVarOrDirectByte(0x80));
break;
}
a->scalex = getVarOrDirectByte(0x80);
a->scaley = getVarOrDirectByte(0x40);
if (a->scalex > 255 || a->scaley > 255)