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.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/devices/video/hd66421.cpp b/src/devices/video/hd66421.cpp
index bb03b80252e..63283f498b0 100644
--- a/src/devices/video/hd66421.cpp
+++ b/src/devices/video/hd66421.cpp
@@ -74,8 +74,7 @@ DEFINE_DEVICE_TYPE(HD66421, hd66421_device, "hd66421", "Hitachi HD66421 LCD Cont
// default address map
void hd66421_device::hd66421(address_map &map)
{
- if (!has_configured_map(0))
- map(0x0000, HD66421_RAM_SIZE).ram();
+ map(0x0000, HD66421_RAM_SIZE).ram();
}
//-------------------------------------------------
@@ -126,7 +125,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, address_map_constructor(FUNC(hd66421_device::hd66421), this))
+ , 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)