summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/snes/event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/snes/event.cpp')
-rw-r--r--src/devices/bus/snes/event.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/devices/bus/snes/event.cpp b/src/devices/bus/snes/event.cpp
index 4f7ef1f3a7e..4095df98bfd 100644
--- a/src/devices/bus/snes/event.cpp
+++ b/src/devices/bus/snes/event.cpp
@@ -201,18 +201,20 @@ READ16_MEMBER( sns_pfest94_device::necdsp_data_r )
// ADDRESS_MAP( dsp_prg_map )
//-------------------------------------------------
-ADDRESS_MAP_START(sns_pfest94_device::dsp_prg_map_lorom)
- AM_RANGE(0x0000, 0x07ff) AM_READ(necdsp_prg_r)
-ADDRESS_MAP_END
+void sns_pfest94_device::dsp_prg_map_lorom(address_map &map)
+{
+ map(0x0000, 0x07ff).r(this, FUNC(sns_pfest94_device::necdsp_prg_r));
+}
//-------------------------------------------------
// ADDRESS_MAP( dsp_data_map )
//-------------------------------------------------
-ADDRESS_MAP_START(sns_pfest94_device::dsp_data_map_lorom)
- AM_RANGE(0x0000, 0x03ff) AM_READ(necdsp_data_r)
-ADDRESS_MAP_END
+void sns_pfest94_device::dsp_data_map_lorom(address_map &map)
+{
+ map(0x0000, 0x03ff).r(this, FUNC(sns_pfest94_device::necdsp_data_r));
+}
//-------------------------------------------------