summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/ef9365.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/ef9365.cpp')
-rw-r--r--src/devices/video/ef9365.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/devices/video/ef9365.cpp b/src/devices/video/ef9365.cpp
index 5abc7d2dde8..5023348c99e 100644
--- a/src/devices/video/ef9365.cpp
+++ b/src/devices/video/ef9365.cpp
@@ -168,8 +168,7 @@ const tiny_rom_entry *ef9365_device::device_rom_region() const
//-------------------------------------------------
void ef9365_device::ef9365(address_map &map)
{
- if (!has_configured_map(0))
- map(0x00000, ef9365_device::BITPLANE_MAX_SIZE * ef9365_device::MAX_BITPLANES - 1).ram();
+ map(0x00000, ef9365_device::BITPLANE_MAX_SIZE * ef9365_device::MAX_BITPLANES - 1).ram();
}
//-------------------------------------------------
@@ -201,7 +200,7 @@ ef9365_device::ef9365_device(const machine_config &mconfig, const char *tag, dev
device_t(mconfig, EF9365, tag, owner, clock),
device_memory_interface(mconfig, *this),
device_video_interface(mconfig, *this),
- m_space_config("videoram", ENDIANNESS_LITTLE, 8, 18, 0, address_map_constructor(FUNC(ef9365_device::ef9365), this)),
+ m_space_config("videoram", ENDIANNESS_LITTLE, 8, 18, 0, address_map_constructor(), address_map_constructor(FUNC(ef9365_device::ef9365), this)),
m_charset(*this, "ef9365"),
m_palette(*this, finder_base::DUMMY_TAG),
m_irq_handler(*this)
@@ -1225,7 +1224,7 @@ void ef9365_device::update_scanline(uint16_t scanline)
// data_r: Registers read access callback
//-------------------------------------------------
-uint8_t ef9365_device::data_r(offs_t offset)
+READ8_MEMBER( ef9365_device::data_r )
{
unsigned char return_value;
@@ -1316,7 +1315,7 @@ uint8_t ef9365_device::data_r(offs_t offset)
// data_w: Registers write access callback
//-------------------------------------------------
-void ef9365_device::data_w(offs_t offset, uint8_t data)
+WRITE8_MEMBER( ef9365_device::data_w )
{
LOG("EF9365 [ %s ] <WR [ 0x%.2X ] - %s\n", register_names[offset&0xF],data, machine().describe_context() );