summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Nigel Barnes <Pernod70@users.noreply.github.com>2021-02-20 00:03:22 +0000
committer Nigel Barnes <Pernod70@users.noreply.github.com>2021-02-20 00:22:05 +0000
commit6d93412a24e7a100eecc371b2ab94cee07259d2b (patch)
treeaf15045cb2922db74d10bd0557ade25cd2773e82
parent2a4a487ec22d05c8484a2ecc822aa9d3aaf2423f (diff)
acorn_memc.cpp: Disable side effects in high_mem_r handler.
-rw-r--r--src/devices/machine/acorn_memc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/machine/acorn_memc.cpp b/src/devices/machine/acorn_memc.cpp
index ebf13443e6e..030834e8152 100644
--- a/src/devices/machine/acorn_memc.cpp
+++ b/src/devices/machine/acorn_memc.cpp
@@ -485,7 +485,8 @@ void acorn_memc_device::logical_w(offs_t offset, uint32_t data, uint32_t mem_mas
uint32_t acorn_memc_device::high_mem_r(offs_t offset, uint32_t mem_mask)
{
uint32_t addr = offset << 2;
- m_latchrom = false;
+ if (!machine().side_effects_disabled())
+ m_latchrom = false;
if (!m_spvmd)
return invalid_access(false, addr, 0, mem_mask);