summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/hd66421.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/hd66421.cpp')
-rw-r--r--src/devices/video/hd66421.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/hd66421.cpp b/src/devices/video/hd66421.cpp
index 3de7355d5f6..dd2198666a4 100644
--- a/src/devices/video/hd66421.cpp
+++ b/src/devices/video/hd66421.cpp
@@ -72,7 +72,7 @@ DEFINE_DEVICE_TYPE(HD66421, hd66421_device, "hd66421", "Hitachi HD66421 LCD Cont
// default address map
-static ADDRESS_MAP_START( hd66421, 0, 8, hd66421_device )
+ADDRESS_MAP_START(hd66421_device::hd66421)
AM_RANGE(0x0000, HD66421_RAM_SIZE) AM_RAM
ADDRESS_MAP_END
@@ -124,7 +124,7 @@ inline void hd66421_device::writebyte(offs_t address, uint8_t data)
hd66421_device::hd66421_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, HD66421, tag, owner, clock),
device_memory_interface(mconfig, *this),
- m_space_config("videoram", ENDIANNESS_LITTLE, 8, 17, 0, nullptr, *ADDRESS_MAP_NAME(hd66421)),
+ m_space_config("videoram", ENDIANNESS_LITTLE, 8, 17, 0, address_map_constructor(), address_map_constructor(FUNC(hd66421_device::hd66421), this)),
m_cmd(0),
m_x(0),
m_y(0),