diff options
| author | 2024-03-05 23:17:42 +0100 | |
|---|---|---|
| committer | 2024-03-05 23:17:48 +0100 | |
| commit | 84f5fb0653d891053d4dd123764677b733746b42 (patch) | |
| tree | 65a5118702618e9522bf5393748a781482dbb373 /src/devices/cpu/sh | |
| parent | 190f332a302f7600e01847733ed43f065fed25eb (diff) | |
Re-add the subcomponents to the swx00 and tweak the adc
Diffstat (limited to 'src/devices/cpu/sh')
| -rw-r--r-- | src/devices/cpu/sh/sh_port.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/sh/sh_port.cpp b/src/devices/cpu/sh/sh_port.cpp index 8bc962f65cd..ddd93a1a4e2 100644 --- a/src/devices/cpu/sh/sh_port.cpp +++ b/src/devices/cpu/sh/sh_port.cpp @@ -81,7 +81,7 @@ void sh_port32_device::device_reset() u32 sh_port32_device::dr_r() { - if(~m_io & ~m_mask) + if((~m_io) & (~m_mask)) return (m_dr & m_io) | (m_cpu->do_read_port32(m_index) & ~m_io); return m_dr; } |
