diff options
author | Olivier Galibert <galibert@pobox.com> | 2018-02-01 10:04:01 +0100 |
---|---|---|
committer | Olivier Galibert <galibert@pobox.com> | 2018-02-12 10:04:52 +0100 |
commit | c5219643162cb7d2a8688425a09008d28c8e2437 (patch) | |
tree | f2775ca3b1770ab0d3fb568f0bdd6d9212c68bf6 /src/mame/drivers/ghosteo.cpp | |
parent | 09b6ce46873b38de9030a3c0378ff327f17af881 (diff) |
API change: Memory maps are now methods of the owner class [O. Galibert]
Also, a lot more freedom happened, that's going to be more visible
soon.
Diffstat (limited to 'src/mame/drivers/ghosteo.cpp')
-rw-r--r-- | src/mame/drivers/ghosteo.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/ghosteo.cpp b/src/mame/drivers/ghosteo.cpp index 1c895df508c..c85a4dbf423 100644 --- a/src/mame/drivers/ghosteo.cpp +++ b/src/mame/drivers/ghosteo.cpp @@ -135,6 +135,8 @@ public: void ghosteo(machine_config &config); void touryuu(machine_config &config); void bballoon(machine_config &config); + void bballoon_map(address_map &map); + void touryuu_map(address_map &map); }; @@ -425,7 +427,7 @@ READ32_MEMBER( ghosteo_state::touryuu_port_10000000_r ) } -static ADDRESS_MAP_START( bballoon_map, AS_PROGRAM, 32, ghosteo_state ) +ADDRESS_MAP_START(ghosteo_state::bballoon_map) AM_RANGE(0x10000000, 0x10000003) AM_READ_PORT("10000000") AM_RANGE(0x10100000, 0x10100003) AM_READ_PORT("10100000") AM_RANGE(0x10200000, 0x10200003) AM_READ_PORT("10200000") @@ -433,7 +435,7 @@ static ADDRESS_MAP_START( bballoon_map, AS_PROGRAM, 32, ghosteo_state ) AM_RANGE(0x30000000, 0x31ffffff) AM_RAM AM_SHARE("systememory") AM_MIRROR(0x02000000) ADDRESS_MAP_END -static ADDRESS_MAP_START( touryuu_map, AS_PROGRAM, 32, ghosteo_state ) +ADDRESS_MAP_START(ghosteo_state::touryuu_map) AM_RANGE(0x10000000, 0x10000003) AM_READ(touryuu_port_10000000_r) AM_RANGE(0x10100000, 0x10100003) AM_READ_PORT("10100000") AM_RANGE(0x10200000, 0x10200003) AM_READ_PORT("10200000") |