summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/gba/rom.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2017-06-08 17:20:12 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2017-06-08 17:20:12 +0200
commitf31b1520801a4848a15a0cbb646797f44e476d33 (patch)
tree3e8ca203dd87896a83313aee59b37db865663bbc /src/devices/bus/gba/rom.cpp
parent89f35e6fcc3eb050e96fff6c185b15c8db477954 (diff)
device_add_mconfig up to devices/bus/h* (nw)
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)
{