summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-01-17 22:41:02 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-01-17 22:41:02 -0500
commitd1938f3d3906d73c6e4130e4cc68a021776bc81d (patch)
tree650ed702b492f43a355d1ea136f5a50af14b7dd8
parentb6450aa0ae3a8d8c09df01aa641c024bf14a9b43 (diff)
tms9927: Disable side effects for reads (nw)
-rw-r--r--src/devices/video/tms9927.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/video/tms9927.cpp b/src/devices/video/tms9927.cpp
index fbe22566171..3380ad2c48c 100644
--- a/src/devices/video/tms9927.cpp
+++ b/src/devices/video/tms9927.cpp
@@ -279,7 +279,8 @@ READ8_MEMBER( tms9927_device::read )
return m_reg[offset - 0x08 + 7];
default:
- generic_access(space, offset);
+ if (!machine().side_effect_disabled())
+ generic_access(space, offset);
break;
}
return 0xff;