diff options
Diffstat (limited to 'src/devices/cpu/sh/sh3comn.cpp')
-rw-r--r-- | src/devices/cpu/sh/sh3comn.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/cpu/sh/sh3comn.cpp b/src/devices/cpu/sh/sh3comn.cpp index 7829097750b..3d5942aa363 100644 --- a/src/devices/cpu/sh/sh3comn.cpp +++ b/src/devices/cpu/sh/sh3comn.cpp @@ -1046,6 +1046,11 @@ uint8_t sh3_base_device::scssr_r(offs_t offset, uint8_t mem_mask) void sh3_base_device::scssr_w(offs_t offset, uint8_t data, uint8_t mem_mask) { m_scssr = (m_scssr | (data & 1)) & (data | 6); + if (!(m_scssr & 0x80)) + { + //printf("%c", m_sctdr); + m_scssr |= 0x80; + } logerror("'%s' (%08x): SCI unmapped internal write %02x & %02x (SCSSR)\n", tag(), m_sh2_state->pc, data, mem_mask); } |