summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/maygayep.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/maygayep.cpp')
-rw-r--r--src/mame/drivers/maygayep.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mame/drivers/maygayep.cpp b/src/mame/drivers/maygayep.cpp
index b66254022be..992a026ce77 100644
--- a/src/mame/drivers/maygayep.cpp
+++ b/src/mame/drivers/maygayep.cpp
@@ -58,11 +58,12 @@ public:
};
// bp 29e58 in ep_simp reads the 'INITIALISE . . .' string
-ADDRESS_MAP_START(maygayep_state::maygayep_map)
- ADDRESS_MAP_GLOBAL_MASK(0xffffff)
- AM_RANGE( 0x000000, 0x07ffff ) AM_ROM AM_REGION("maincpu", 0)
- AM_RANGE( 0xfe0000, 0xffffff ) AM_RAM // merln at least?
-ADDRESS_MAP_END
+void maygayep_state::maygayep_map(address_map &map)
+{
+ map.global_mask(0xffffff);
+ map(0x000000, 0x07ffff).rom().region("maincpu", 0);
+ map(0xfe0000, 0xffffff).ram(); // merln at least?
+}
static INPUT_PORTS_START( maygayep )
INPUT_PORTS_END