diff options
| author | 2025-12-27 04:55:41 +1100 | |
|---|---|---|
| committer | 2025-12-27 04:55:41 +1100 | |
| commit | a94de09120cf3340af04ade68dc882b71e615ebf (patch) | |
| tree | f06d00067afaa8551868da401d1187976b74451a /src/devices/bus | |
| parent | 939f3126e321254a1d943e8a49827843c1e0c574 (diff) | |
machine/tms9914.cpp: Suppress side effects for debugger reads.
Also use "English" spacing.
Diffstat (limited to 'src/devices/bus')
| -rw-r--r-- | src/devices/bus/a2bus/a2ieee488.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/devices/bus/a2bus/a2ieee488.cpp b/src/devices/bus/a2bus/a2ieee488.cpp index 4707b463d77..109e1ad0ea7 100644 --- a/src/devices/bus/a2bus/a2ieee488.cpp +++ b/src/devices/bus/a2bus/a2ieee488.cpp @@ -85,6 +85,7 @@ #include "bus/ieee488/ieee488.h" #include "machine/tms9914.h" + namespace { class a2bus_ieee488_device: @@ -166,12 +167,7 @@ a2bus_ieee488_device::a2bus_ieee488_device(const machine_config &mconfig, device uint8_t a2bus_ieee488_device::read_c0nx(uint8_t offset) { - uint8_t data = 0xff; - if (!machine().side_effects_disabled()) - { - data = m_tms9914->read(offset & 0x07); - } - return data; + return m_tms9914->read(offset & 0x07); } void a2bus_ieee488_device::write_c0nx(uint8_t offset, uint8_t data) |
