From 694f040217db2183b863c467ec8bc240f4d6acdc Mon Sep 17 00:00:00 2001 From: goldnchild <48141308+goldnchild@users.noreply.github.com> Date: Tue, 12 Oct 2021 04:51:22 -0700 Subject: bus/centronics/epson_lx810l.cpp: Fixed carriage position readback after soft readback. (#8679) --- src/devices/bus/centronics/epson_lx810l.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/bus/centronics/epson_lx810l.cpp b/src/devices/bus/centronics/epson_lx810l.cpp index 8b1d862711d..21c6510ec95 100644 --- a/src/devices/bus/centronics/epson_lx810l.cpp +++ b/src/devices/bus/centronics/epson_lx810l.cpp @@ -50,7 +50,7 @@ // DEVICE DEFINITIONS //************************************************************************** -DEFINE_DEVICE_TYPE(EPSON_LX810L, epson_lx810l_device, "lx810l", "Espon LX-810L") +DEFINE_DEVICE_TYPE(EPSON_LX810L, epson_lx810l_device, "lx810l", "Epson LX-810L") DEFINE_DEVICE_TYPE(EPSON_AP2000, epson_ap2000_device, "ap2000", "Epson ActionPrinter 2000") @@ -400,7 +400,7 @@ void epson_lx810l_device::fakemem_w(uint8_t data) uint8_t epson_lx810l_device::porta_r(offs_t offset) { uint8_t result = 0; - uint8_t hp_sensor = m_cr_pos_abs <= 0 ? 0 : 1; + uint8_t hp_sensor = m_real_cr_pos <= 0 ? 0 : 1; // use m_real_cr_pos instead of m_cr_pos_abs (fixes walking carriage on mame soft reset) //uint8_t pe_sensor = m_pf_pos_abs <= 0 ? 1 : 0; result |= hp_sensor; /* home position */ -- cgit v1.2.3