summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/pgmprot_igs025_igs022.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/pgmprot_igs025_igs022.cpp')
-rw-r--r--src/mame/machine/pgmprot_igs025_igs022.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mame/machine/pgmprot_igs025_igs022.cpp b/src/mame/machine/pgmprot_igs025_igs022.cpp
index 01cbbec38a8..1b0764d84a9 100644
--- a/src/mame/machine/pgmprot_igs025_igs022.cpp
+++ b/src/mame/machine/pgmprot_igs025_igs022.cpp
@@ -367,11 +367,12 @@ DRIVER_INIT_MEMBER(pgm_022_025_state,drgw3)
}
-ADDRESS_MAP_START(pgm_022_025_state::killbld_mem)
- AM_IMPORT_FROM(pgm_mem)
- AM_RANGE(0x100000, 0x2fffff) AM_ROMBANK("bank1") /* Game ROM */
- AM_RANGE(0x300000, 0x303fff) AM_RAM AM_SHARE("sharedprotram") // Shared with protection device
-ADDRESS_MAP_END
+void pgm_022_025_state::killbld_mem(address_map &map)
+{
+ pgm_mem(map);
+ map(0x100000, 0x2fffff).bankr("bank1"); /* Game ROM */
+ map(0x300000, 0x303fff).ram().share("sharedprotram"); // Shared with protection device
+}
MACHINE_CONFIG_START(pgm_022_025_state::pgm_022_025)