From d714b46924348b97ec43648a53d2c31ddfcd1c79 Mon Sep 17 00:00:00 2001 From: Sergey Svishchev Date: Fri, 10 Mar 2017 15:52:01 +0300 Subject: [PATCH] machine/roc10937: fix CID: 138793 "Logically dead code" --- src/devices/machine/roc10937.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/machine/roc10937.cpp b/src/devices/machine/roc10937.cpp index 3be5f16a2a1..2573e9549b0 100644 --- a/src/devices/machine/roc10937.cpp +++ b/src/devices/machine/roc10937.cpp @@ -361,8 +361,8 @@ void roc10957_t::write_char(int data) } } else - { // Display data - data &= 0x3F; + { // Display data. Bit 6 is a "don't care" bit except for PNT and TAIL. + data &= 0x7F; switch ( data ) {