From 624d7a18c1f0afaafd46cf91599f1fc07c29d2b2 Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 31 Dec 2017 00:12:30 -0500 Subject: [PATCH] vtvideo: Make this a line callback (nw) --- src/mame/drivers/vt100.cpp | 2 +- src/mame/video/vtvideo.cpp | 2 +- src/mame/video/vtvideo.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/drivers/vt100.cpp b/src/mame/drivers/vt100.cpp index 986a8f10d03..a9e98a77ae4 100644 --- a/src/mame/drivers/vt100.cpp +++ b/src/mame/drivers/vt100.cpp @@ -116,7 +116,7 @@ ADDRESS_MAP_END READ8_MEMBER( vt100_state::vt100_flags_r ) { uint8_t ret = 0; - ret |= m_crtc->lba7_r(space, 0) << 6; + ret |= m_crtc->lba7_r() << 6; ret |= m_keyboard_int << 7; return ret; } diff --git a/src/mame/video/vtvideo.cpp b/src/mame/video/vtvideo.cpp index fe9cd7a9939..065fae0703d 100644 --- a/src/mame/video/vtvideo.cpp +++ b/src/mame/video/vtvideo.cpp @@ -219,7 +219,7 @@ void vt100_video_device::recompute_parameters() } -READ8_MEMBER(vt100_video_device::lba7_r) +READ_LINE_MEMBER(vt100_video_device::lba7_r) { return m_lba7; } diff --git a/src/mame/video/vtvideo.h b/src/mame/video/vtvideo.h index 0ee19251512..c8509c63ef3 100644 --- a/src/mame/video/vtvideo.h +++ b/src/mame/video/vtvideo.h @@ -26,7 +26,7 @@ public: static void set_chargen_tag(device_t &device, const char *tag) { downcast(device).m_char_rom.set_tag(tag); } - DECLARE_READ8_MEMBER(lba7_r); + DECLARE_READ_LINE_MEMBER(lba7_r); DECLARE_WRITE8_MEMBER(dc012_w); DECLARE_WRITE8_MEMBER(dc011_w); DECLARE_WRITE8_MEMBER(brightness_w);