summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/sinclair/byte.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/sinclair/byte.cpp')
-rw-r--r--src/mame/sinclair/byte.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mame/sinclair/byte.cpp b/src/mame/sinclair/byte.cpp
index b881719cd2c..f5a4caf4a06 100644
--- a/src/mame/sinclair/byte.cpp
+++ b/src/mame/sinclair/byte.cpp
@@ -85,8 +85,11 @@ void byte_state::map_io(address_map &map)
u8 byte_state::kbd_fe_r(offs_t offset)
{
- if (is_contended(offset)) content_early();
- content_early(1);
+ if (!machine().side_effects_disabled())
+ {
+ if (is_contended(offset)) content_early();
+ content_early(1);
+ }
u8 lines = offset >> 8;
u8 data = 0xff;