diff options
| author | 2008-11-24 02:06:29 +0000 | |
|---|---|---|
| committer | 2008-11-24 02:06:29 +0000 | |
| commit | 64164a3e97154682d3ebdd5ffdf4cd8b22a1a6b2 (patch) | |
| tree | c8ac1f9c964558080461390888aecf21b76bca14 /src | |
| parent | f86d66dc971469afa4ac7fa9685ae1e39374fca5 (diff) | |
better fix for vendetta eeprom (credit to mamesick / Fabio Priuli)
Diffstat (limited to 'src')
| -rw-r--r-- | src/mame/drivers/vendetta.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/vendetta.c b/src/mame/drivers/vendetta.c index 2272416a02f..f27e89788db 100644 --- a/src/mame/drivers/vendetta.c +++ b/src/mame/drivers/vendetta.c @@ -148,7 +148,7 @@ static READ8_HANDLER( vendetta_eeprom_r ) res |= 0x02; //konami_eeprom_ack() << 5; /* add the ack */ - res |= input_port_read(space->machine, "EEPROM") & 0x0c; /* test switch */ + res |= input_port_read(space->machine, "EEPROM") & 0x0d; /* test switch */ if (init_eeprom_count) { @@ -397,7 +397,7 @@ static INPUT_PORTS_START( vendet4p ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_START("EEPROM") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CUSTOM(eeprom_bit_r, NULL) /* EEPROM data */ + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN ) PORT_CUSTOM(eeprom_bit_r, NULL) /* EEPROM data */ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* EEPROM ready */ PORT_SERVICE_NO_TOGGLE(0x04, IP_ACTIVE_LOW) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_VBLANK ) /* not really vblank, object related. Its timed, otherwise sprites flicker */ @@ -476,7 +476,7 @@ static INPUT_PORTS_START( esckids ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_START("EEPROM") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_CUSTOM(eeprom_bit_r, NULL) /* EEPROM data */ + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN ) PORT_CUSTOM(eeprom_bit_r, NULL) /* EEPROM data */ PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* EEPROM ready */ PORT_SERVICE_NO_TOGGLE(0x04, IP_ACTIVE_LOW) PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_VBLANK ) /* not really vblank, object related. Its timed, otherwise sprites flicker */ |
