summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/astrcorp.cpp
diff options
context:
space:
mode:
author mooglyguy <therealmogminer@gmail.com>2018-06-07 21:48:54 +0200
committer mooglyguy <therealmogminer@gmail.com>2018-06-07 21:49:11 +0200
commitb66e57a15c28847d8ecda49fbe1c8cecf2af1d4f (patch)
tree2b0911e685f555782b812b1f9ea252c411f75af1 /src/mame/drivers/astrcorp.cpp
parent6bc839999ca1b3b325c77058cdc62a7f26030714 (diff)
Removed nearly all custom MCFG macros from eepromser, migrated more of policetr to newer syntax, nw
Diffstat (limited to 'src/mame/drivers/astrcorp.cpp')
-rw-r--r--src/mame/drivers/astrcorp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/astrcorp.cpp b/src/mame/drivers/astrcorp.cpp
index 1a59fface44..1dbdb5ae03d 100644
--- a/src/mame/drivers/astrcorp.cpp
+++ b/src/mame/drivers/astrcorp.cpp
@@ -527,8 +527,8 @@ MACHINE_CONFIG_START(astrocorp_state::showhand)
MCFG_DEVICE_VBLANK_INT_DRIVER("screen", astrocorp_state, irq4_line_hold)
MCFG_NVRAM_ADD_0FILL("nvram")
- MCFG_EEPROM_SERIAL_93C46_ADD("eeprom")
- MCFG_EEPROM_SERIAL_DATA(showhand_default_eeprom, sizeof(showhand_default_eeprom))
+ MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT)
+ MCFG_EEPROM_DATA(showhand_default_eeprom, sizeof(showhand_default_eeprom))
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
@@ -580,7 +580,7 @@ MACHINE_CONFIG_START(astrocorp_state::skilldrp)
MCFG_TIMER_DRIVER_ADD_SCANLINE("scantimer", astrocorp_state, skilldrp_scanline, "screen", 0, 1)
MCFG_NVRAM_ADD_0FILL("nvram")
- MCFG_EEPROM_SERIAL_93C46_ADD("eeprom")
+ MCFG_DEVICE_ADD("eeprom", EEPROM_SERIAL_93C46_16BIT)
MCFG_TICKET_DISPENSER_ADD("ticket", attotime::from_msec(200), TICKET_MOTOR_ACTIVE_HIGH, TICKET_STATUS_ACTIVE_LOW )
MCFG_TICKET_DISPENSER_ADD("hopper", attotime::from_msec(200), TICKET_MOTOR_ACTIVE_HIGH, TICKET_STATUS_ACTIVE_LOW )