diff options
author | Vas Crabb <vas@vastheman.com> | 2019-04-12 01:49:57 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2019-04-12 01:49:57 +1000 |
commit | f70f31731cddfe0f96b74fa82a3a07a51b17411e (patch) | |
tree | 49b646154d79db316d9450663a1a63e7283f085c /src/devices/bus/apricot/expansion/winchester.cpp | |
parent | 3aaae04942b9dd28de2232049d63a8871666ecaa (diff) |
(nw) suppress side effects, standardise #include guards
Diffstat (limited to 'src/devices/bus/apricot/expansion/winchester.cpp')
-rw-r--r-- | src/devices/bus/apricot/expansion/winchester.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/apricot/expansion/winchester.cpp b/src/devices/bus/apricot/expansion/winchester.cpp index f16752b3ede..f5a35ec4ac1 100644 --- a/src/devices/bus/apricot/expansion/winchester.cpp +++ b/src/devices/bus/apricot/expansion/winchester.cpp @@ -136,7 +136,7 @@ READ8_MEMBER( apricot_winchester_device::hdc_data_r ) LOGDATA("hdc_data_r[%04x]\n", m_ram_ptr); data = m_ram[m_ram_ptr]; - if (m_ram_ptr < 0x1fff) + if (!machine().side_effects_disabled() && (m_ram_ptr < 0x1fff)) m_ram_ptr++; } |