summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus
diff options
context:
space:
mode:
author goldnchild <48141308+goldnchild@users.noreply.github.com>2021-10-12 04:51:22 -0700
committer GitHub <noreply@github.com>2021-10-12 22:51:22 +1100
commit694f040217db2183b863c467ec8bc240f4d6acdc (patch)
tree2333946148fe765d484e1d5bb98c5a5f37d05437 /src/devices/bus
parent502793246f5640575e2256ec4eb69e094db94624 (diff)
bus/centronics/epson_lx810l.cpp: Fixed carriage position readback after soft readback. (#8679)
Diffstat (limited to 'src/devices/bus')
-rw-r--r--src/devices/bus/centronics/epson_lx810l.cpp4
1 files 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 */