diff options
author | 2018-02-01 10:04:01 +0100 | |
---|---|---|
committer | 2018-02-12 10:04:52 +0100 | |
commit | c5219643162cb7d2a8688425a09008d28c8e2437 (patch) | |
tree | f2775ca3b1770ab0d3fb568f0bdd6d9212c68bf6 /src/devices/video/mc6845.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/devices/video/mc6845.cpp')
-rw-r--r-- | src/devices/video/mc6845.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/mc6845.cpp b/src/devices/video/mc6845.cpp index dfddcdfedb2..188b66d5c58 100644 --- a/src/devices/video/mc6845.cpp +++ b/src/devices/video/mc6845.cpp @@ -1438,7 +1438,7 @@ device_memory_interface::space_config_vector mos8563_device::memory_space_config } // default address maps -static ADDRESS_MAP_START( mos8563_videoram_map, 0, 8, mos8563_device ) +ADDRESS_MAP_START(mos8563_device::mos8563_videoram_map) AM_RANGE(0x0000, 0xffff) AM_RAM ADDRESS_MAP_END @@ -1505,7 +1505,7 @@ ams40489_device::ams40489_device(const machine_config &mconfig, const char *tag, mos8563_device::mos8563_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) : mc6845_device(mconfig, type, tag, owner, clock), device_memory_interface(mconfig, *this), - m_videoram_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, nullptr, *ADDRESS_MAP_NAME(mos8563_videoram_map)), + m_videoram_space_config("videoram", ENDIANNESS_LITTLE, 8, 16, 0, address_map_constructor(), address_map_constructor(FUNC(mos8563_device::mos8563_videoram_map), this)), m_palette(*this, "palette") { set_clock_scale(1.0/8); |