summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/extrema.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/extrema.cpp')
-rw-r--r--src/mame/drivers/extrema.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/mame/drivers/extrema.cpp b/src/mame/drivers/extrema.cpp
index 2eb3472ce65..73ba1b3fad4 100644
--- a/src/mame/drivers/extrema.cpp
+++ b/src/mame/drivers/extrema.cpp
@@ -32,14 +32,16 @@ public:
-ADDRESS_MAP_START(extrema_state::extrema_map)
- AM_RANGE(0x0000, 0x7fff) AM_ROM
-ADDRESS_MAP_END
+void extrema_state::extrema_map(address_map &map)
+{
+ map(0x0000, 0x7fff).rom();
+}
-ADDRESS_MAP_START(extrema_state::extrema_portmap)
- ADDRESS_MAP_GLOBAL_MASK(0xff)
-ADDRESS_MAP_END
+void extrema_state::extrema_portmap(address_map &map)
+{
+ map.global_mask(0xff);
+}
static INPUT_PORTS_START( extrema )