summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/gba/rom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/gba/rom.cpp')
-rw-r--r--src/devices/bus/gba/rom.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/devices/bus/gba/rom.cpp b/src/devices/bus/gba/rom.cpp
index 3b3a2e6e20e..5d083f6479e 100644
--- a/src/devices/bus/gba/rom.cpp
+++ b/src/devices/bus/gba/rom.cpp
@@ -406,15 +406,10 @@ void gba_rom_wariotws_device::gpio_dev_write(uint16_t data, int gpio_dirs)
Carts with Flash RAM
-------------------------------------------------*/
-static MACHINE_CONFIG_START( panasonic_flash )
+MACHINE_CONFIG_MEMBER( gba_rom_flash_device::device_add_mconfig )
MCFG_PANASONIC_MN63F805MNP_ADD("flash")
MACHINE_CONFIG_END
-machine_config_constructor gba_rom_flash_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( panasonic_flash );
-}
-
READ32_MEMBER(gba_rom_flash_device::read_ram)
{
@@ -457,15 +452,10 @@ WRITE32_MEMBER(gba_rom_flash_device::write_ram)
}
}
-static MACHINE_CONFIG_START( sanyo_flash )
+MACHINE_CONFIG_MEMBER( gba_rom_flash1m_device::device_add_mconfig )
MCFG_SANYO_LE26FV10N1TS_ADD("flash")
MACHINE_CONFIG_END
-machine_config_constructor gba_rom_flash1m_device::device_mconfig_additions() const
-{
- return MACHINE_CONFIG_NAME( sanyo_flash );
-}
-
READ32_MEMBER(gba_rom_flash1m_device::read_ram)
{