summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/crtc_ega.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/crtc_ega.cpp')
-rw-r--r--src/devices/video/crtc_ega.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/video/crtc_ega.cpp b/src/devices/video/crtc_ega.cpp
index 7d03b09f131..01ee629ad43 100644
--- a/src/devices/video/crtc_ega.cpp
+++ b/src/devices/video/crtc_ega.cpp
@@ -51,13 +51,13 @@ void crtc_ega_device::device_post_load()
}
-void crtc_ega_device::address_w(uint8_t data)
+WRITE8_MEMBER( crtc_ega_device::address_w )
{
m_register_address_latch = data & 0x1f;
}
-uint8_t crtc_ega_device::register_r()
+READ8_MEMBER( crtc_ega_device::register_r )
{
uint8_t ret = 0;
@@ -78,7 +78,7 @@ uint8_t crtc_ega_device::register_r()
}
-void crtc_ega_device::register_w(uint8_t data)
+WRITE8_MEMBER( crtc_ega_device::register_w )
{
LOG("%s CRTC_EGA: reg 0x%02x = 0x%02x\n", machine().describe_context(), m_register_address_latch, data);