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/pcktgal.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/pcktgal.cpp')
-rw-r--r-- | src/mame/drivers/pcktgal.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/pcktgal.cpp b/src/mame/drivers/pcktgal.cpp index b000bb40363..dc322952205 100644 --- a/src/mame/drivers/pcktgal.cpp +++ b/src/mame/drivers/pcktgal.cpp @@ -71,7 +71,7 @@ READ8_MEMBER(pcktgal_state::adpcm_reset_r) /***************************************************************************/ -static ADDRESS_MAP_START( pcktgal_map, AS_PROGRAM, 8, pcktgal_state ) +ADDRESS_MAP_START(pcktgal_state::pcktgal_map) AM_RANGE(0x0000, 0x07ff) AM_RAM AM_RANGE(0x0800, 0x0fff) AM_DEVREADWRITE("tilegen1", deco_bac06_device, pf_data_8bit_r, pf_data_8bit_w) AM_RANGE(0x1000, 0x11ff) AM_RAM AM_SHARE("spriteram") @@ -89,7 +89,7 @@ ADDRESS_MAP_END /***************************************************************************/ -static ADDRESS_MAP_START( pcktgal_sound_map, AS_PROGRAM, 8, pcktgal_state ) +ADDRESS_MAP_START(pcktgal_state::pcktgal_sound_map) AM_RANGE(0x0000, 0x07ff) AM_RAM AM_RANGE(0x0800, 0x0801) AM_DEVWRITE("ym1", ym2203_device, write) AM_RANGE(0x1000, 0x1001) AM_DEVWRITE("ym2", ym3812_device, write) |