summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/megadriv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/megadriv.cpp')
-rw-r--r--src/mame/machine/megadriv.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/machine/megadriv.cpp b/src/mame/machine/megadriv.cpp
index 2ebef72e48f..9eb0ea259c4 100644
--- a/src/mame/machine/megadriv.cpp
+++ b/src/mame/machine/megadriv.cpp
@@ -468,10 +468,11 @@ void md_base_state::megadriv_map(address_map &map)
}
-ADDRESS_MAP_START(md_base_state::dcat16_megadriv_map)
- AM_IMPORT_FROM(megadriv_map)
- AM_RANGE(0x000000, 0x7fffff) AM_ROM
-ADDRESS_MAP_END
+void md_base_state::dcat16_megadriv_map(address_map &map)
+{
+ megadriv_map(map);
+ map(0x000000, 0x7fffff).rom();
+}
/* z80 sounds/sub CPU */