diff options
author | 2022-01-21 22:01:48 -0500 | |
---|---|---|
committer | 2022-01-21 22:01:48 -0500 | |
commit | 310581f234005656dfbf59f03d8b3c83c491023f (patch) | |
tree | 893b62397292f72fb289c2c2ed24a9621e4c5b4e /src/devices/bus | |
parent | acf34ba05e7a2fc22428c6fe849b54db77111c3f (diff) |
bitmap_printer: initial cleanup, the calm before the refactor. [R. Belmont]
Diffstat (limited to 'src/devices/bus')
-rw-r--r-- | src/devices/bus/centronics/epson_lx810l.cpp | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/devices/bus/centronics/epson_lx810l.cpp b/src/devices/bus/centronics/epson_lx810l.cpp index 3c954f3d28e..2b75d83fece 100644 --- a/src/devices/bus/centronics/epson_lx810l.cpp +++ b/src/devices/bus/centronics/epson_lx810l.cpp @@ -552,14 +552,12 @@ WRITE_LINE_MEMBER( epson_lx810l_device::co0_w ) * lines which are being printed in different directions is * noticeably off in the 20+ years old printer used for testing =). */ - if (m_bitmap_printer->m_xpos < m_bitmap_printer->m_page_bitmap.width()) { - for (int i = 0; i < 9; i++) - { - if ((m_printhead & (1<<(8-i))) != 0) - m_bitmap_printer->pix(m_bitmap_printer->m_ypos + i * 1, // * 1 for no interleave at 72 vdpi - m_bitmap_printer->m_xpos + CR_OFFSET + m_in_between_offset + - (m_bitmap_printer->m_cr_direction > 0 ? m_rightward_offset : 0)) = 0x000000; - } + for (int i = 0; i < 9; i++) + { + if ((m_printhead & (1<<(8-i))) != 0) + m_bitmap_printer->pix(m_bitmap_printer->m_ypos + i * 1, // * 1 for no interleave at 72 vdpi + m_bitmap_printer->m_xpos + CR_OFFSET + m_in_between_offset + + (m_bitmap_printer->m_cr_direction > 0 ? m_rightward_offset : 0)) = 0x000000; } } } |