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/m50458.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/m50458.cpp')
-rw-r--r-- | src/devices/video/m50458.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/m50458.cpp b/src/devices/video/m50458.cpp index 48128ecb095..93e98ce2642 100644 --- a/src/devices/video/m50458.cpp +++ b/src/devices/video/m50458.cpp @@ -29,7 +29,7 @@ // device type definition DEFINE_DEVICE_TYPE(M50458, m50458_device, "m50458", "Mitsubishi M50458 OSD") -static ADDRESS_MAP_START( m50458_vram, 0, 16, m50458_device ) +ADDRESS_MAP_START(m50458_device::m50458_vram) AM_RANGE(0x0000, 0x023f) AM_RAM // vram AM_RANGE(0x0240, 0x0241) AM_WRITE(vreg_120_w) AM_RANGE(0x0242, 0x0243) AM_WRITE(vreg_121_w) @@ -179,7 +179,7 @@ m50458_device::m50458_device(const machine_config &mconfig, const char *tag, dev : device_t(mconfig, M50458, tag, owner, clock) , device_memory_interface(mconfig, *this) , device_video_interface(mconfig, *this) - , m_space_config("videoram", ENDIANNESS_LITTLE, 16, 16, 0, nullptr, *ADDRESS_MAP_NAME(m50458_vram)) + , m_space_config("videoram", ENDIANNESS_LITTLE, 16, 16, 0, address_map_constructor(), address_map_constructor(FUNC(m50458_device::m50458_vram), this)) { } |