summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mephistp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mephistp.cpp')
-rw-r--r--src/mame/drivers/mephistp.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/mephistp.cpp b/src/mame/drivers/mephistp.cpp
index ff37e069be2..58ad92a02a5 100644
--- a/src/mame/drivers/mephistp.cpp
+++ b/src/mame/drivers/mephistp.cpp
@@ -131,10 +131,11 @@ void mephisto_pinball_state::mephisto_8051_io(address_map &map)
}
#ifdef UNUSED_DEFINITION
-ADDRESS_MAP_START(mephisto_pinball_state::sport2k_8051_io)
- AM_IMPORT_FROM(mephisto_8051_data)
- AM_RANGE(0x1800, 0x1801) AM_DEVREADWRITE("ymsnd", ym3812_device, read, write)
-ADDRESS_MAP_END
+void mephisto_pinball_state::sport2k_8051_io(address_map &map)
+{
+ mephisto_8051_data(map);
+ map(0x1800, 0x1801).rw("ymsnd", FUNC(ym3812_device::read), FUNC(ym3812_device::write));
+}
#endif
static INPUT_PORTS_START( mephisto )