diff options
Diffstat (limited to 'src/devices/cpu/e0c6200')
-rw-r--r-- | src/devices/cpu/e0c6200/e0c6s46.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/cpu/e0c6200/e0c6s46.cpp b/src/devices/cpu/e0c6200/e0c6s46.cpp index f23b7ea2ca5..1cd3217f6ee 100644 --- a/src/devices/cpu/e0c6200/e0c6s46.cpp +++ b/src/devices/cpu/e0c6200/e0c6s46.cpp @@ -354,7 +354,9 @@ u8 e0c6s46_device::read_p(u8 port) if (m_p_dir >> port & 1) return m_port_p[port]; - m_read_p[port](port, 0xff); + if (port < 4) + return m_read_p[port](port, 0xff); + return 0; } |