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/video/powervr2.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/video/powervr2.cpp')
-rw-r--r-- | src/mame/video/powervr2.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/powervr2.cpp b/src/mame/video/powervr2.cpp index fd6d43d491d..dc34a292c49 100644 --- a/src/mame/video/powervr2.cpp +++ b/src/mame/video/powervr2.cpp @@ -15,7 +15,7 @@ DEFINE_DEVICE_TYPE(POWERVR2, powervr2_device, "powervr2", "PowerVR 2") -DEVICE_ADDRESS_MAP_START(ta_map, 32, powervr2_device) +ADDRESS_MAP_START(powervr2_device::ta_map) AM_RANGE(0x0000, 0x0003) AM_READ( id_r) AM_RANGE(0x0004, 0x0007) AM_READ( revision_r) AM_RANGE(0x0008, 0x000b) AM_READWRITE(softreset_r, softreset_w) @@ -89,7 +89,7 @@ DEVICE_ADDRESS_MAP_START(ta_map, 32, powervr2_device) AM_RANGE(0x1000, 0x1fff) AM_READWRITE(palette_r, palette_w) ADDRESS_MAP_END -DEVICE_ADDRESS_MAP_START(pd_dma_map, 32, powervr2_device) +ADDRESS_MAP_START(powervr2_device::pd_dma_map) AM_RANGE(0x00, 0x03) AM_READWRITE(sb_pdstap_r, sb_pdstap_w) AM_RANGE(0x04, 0x07) AM_READWRITE(sb_pdstar_r, sb_pdstar_w) AM_RANGE(0x08, 0x0b) AM_READWRITE(sb_pdlen_r, sb_pdlen_w) |