diff options
Diffstat (limited to 'src/devices/bus/acorn/cms/hires.cpp')
-rw-r--r-- | src/devices/bus/acorn/cms/hires.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/acorn/cms/hires.cpp b/src/devices/bus/acorn/cms/hires.cpp index 9e6e169737b..de42be218cd 100644 --- a/src/devices/bus/acorn/cms/hires.cpp +++ b/src/devices/bus/acorn/cms/hires.cpp @@ -71,8 +71,8 @@ void cms_hires_device::device_start() { address_space &space = m_bus->memspace(); - space.install_readwrite_handler(0xfc10, 0xfc1f, read8sm_delegate(FUNC(ef9365_device::data_r), m_gdp.target()), write8sm_delegate(FUNC(ef9365_device::data_w), m_gdp.target())); - space.install_write_handler(0xfc20, 0xfc2f, write8_delegate(FUNC(cms_hires_device::colour_reg_w), this)); + space.install_readwrite_handler(0xfc10, 0xfc1f, read8sm_delegate(*m_gdp, FUNC(ef9365_device::data_r)), write8sm_delegate(*m_gdp, FUNC(ef9365_device::data_w))); + space.install_write_handler(0xfc20, 0xfc2f, write8smo_delegate(*this, FUNC(cms_hires_device::colour_reg_w))); save_item(NAME(m_flash_state)); } @@ -109,7 +109,7 @@ TIMER_DEVICE_CALLBACK_MEMBER(cms_hires_device::flash_rate) } } -WRITE8_MEMBER(cms_hires_device::colour_reg_w) +void cms_hires_device::colour_reg_w(uint8_t data) { m_gdp->set_color_filler(data & 0x0f); } |