diff options
author | Aaron Giles <aaron@aarongiles.com> | 2013-07-26 09:44:37 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2013-07-26 09:44:37 +0000 |
commit | ba158e3675e85a21c67a489eaf99eb3533dc65c9 (patch) | |
tree | ec64ffd3d3d56f13d485a4b393510ff663933c6e /src/mame/drivers/plygonet.c | |
parent | a5689467f5cfeccb2fbac4a51fc7eb4463c28fe0 (diff) |
Rename eeprom_device to serial_eeprom_device in anticipation of adding
a parallel eeprom device.
Also attempted to fix Visual Studio warnings.
Diffstat (limited to 'src/mame/drivers/plygonet.c')
-rw-r--r-- | src/mame/drivers/plygonet.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/plygonet.c b/src/mame/drivers/plygonet.c index 96b592996b9..0f50da897f6 100644 --- a/src/mame/drivers/plygonet.c +++ b/src/mame/drivers/plygonet.c @@ -72,7 +72,7 @@ enum { BANK_GROUP_A, BANK_GROUP_B, INVALID_BANK_GROUP }; -static const eeprom_interface eeprom_intf = +static const serial_eeprom_interface eeprom_intf = { 9, // address bits 8, // data bits @@ -671,7 +671,7 @@ static MACHINE_CONFIG_START( plygonet, polygonet_state ) MCFG_QUANTUM_PERFECT_CPU("maincpu") /* TODO: TEMPORARY! UNTIL A MORE LOCALIZED SYNC CAN BE MADE */ - MCFG_EEPROM_ADD("eeprom", eeprom_intf) + MCFG_SERIAL_EEPROM_ADD("eeprom", eeprom_intf) MCFG_GFXDECODE(plygonet) @@ -726,7 +726,7 @@ static INPUT_PORTS_START( polygonet ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_START("IN2") - PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL) PORT_READ_LINE_DEVICE_MEMBER("eeprom", eeprom_device, read_bit) + PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_SPECIAL) PORT_READ_LINE_DEVICE_MEMBER("eeprom", serial_eeprom_device, read_bit) PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_TILT ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED ) // Start 2, unused |