mirror of
https://github.com/holub/mame
synced 2025-05-24 06:30:04 +03:00
Fix for [MT03470]: backfirea: Game mode setting error on startup
as per comment in the source, only low IN2 should be used with vblank from IN3
This commit is contained in:
parent
a52fce206d
commit
0f3381a831
@ -229,7 +229,7 @@ static READ32_HANDLER(backfire_eeprom_r)
|
|||||||
/* some kind of screen indicator? checked by backfira set before it will boot */
|
/* some kind of screen indicator? checked by backfira set before it will boot */
|
||||||
int backfire_screen = mame_rand(space->machine) & 1;
|
int backfire_screen = mame_rand(space->machine) & 1;
|
||||||
return ((eeprom_read_bit() << 24) | input_port_read(space->machine, "IN0")
|
return ((eeprom_read_bit() << 24) | input_port_read(space->machine, "IN0")
|
||||||
| ((input_port_read(space->machine, "IN2") & ~0x40) <<16)
|
| ((input_port_read(space->machine, "IN2") & 0xbf) << 16)
|
||||||
| ((input_port_read(space->machine, "IN3") & 0x40) << 16)) ^ (backfire_screen << 26) ;
|
| ((input_port_read(space->machine, "IN3") & 0x40) << 16)) ^ (backfire_screen << 26) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user