summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/monzagp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/monzagp.cpp')
-rw-r--r--src/mame/drivers/monzagp.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/mame/drivers/monzagp.cpp b/src/mame/drivers/monzagp.cpp
index 6b3f12fba30..9efed3da1c4 100644
--- a/src/mame/drivers/monzagp.cpp
+++ b/src/mame/drivers/monzagp.cpp
@@ -262,9 +262,10 @@ uint32_t monzagp_state::screen_update_monzagp(screen_device &screen, bitmap_ind1
return 0;
}
-ADDRESS_MAP_START(monzagp_state::monzagp_map)
- AM_RANGE(0x0000, 0x0fff) AM_ROM
-ADDRESS_MAP_END
+void monzagp_state::monzagp_map(address_map &map)
+{
+ map(0x0000, 0x0fff).rom();
+}
READ8_MEMBER(monzagp_state::port_r)
@@ -405,9 +406,10 @@ WRITE8_MEMBER(monzagp_state::port2_w)
}
-ADDRESS_MAP_START(monzagp_state::monzagp_io)
- AM_RANGE(0x00, 0xff) AM_READWRITE(port_r, port_w)
-ADDRESS_MAP_END
+void monzagp_state::monzagp_io(address_map &map)
+{
+ map(0x00, 0xff).rw(this, FUNC(monzagp_state::port_r), FUNC(monzagp_state::port_w));
+}
static INPUT_PORTS_START( monzagp )
PORT_START("WHEEL")