summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2022-04-12 17:53:12 +0100
committer smf- <smf-@users.noreply.github.com>2022-04-12 17:53:36 +0100
commit58d95e7ec7fcdcd6e03b4e2ec486ec33f2788e9c (patch)
tree6253f24b3b0ab5ce2b65b1a91e0a4efe59fe310d /src/mame/machine
parent395106b50823ae88ace5982ff20e2d811062b9f4 (diff)
clang 14 fixes
Diffstat (limited to 'src/mame/machine')
-rw-r--r--src/mame/machine/super80.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/super80.cpp b/src/mame/machine/super80.cpp
index 7f508155974..ef1bc072a3b 100644
--- a/src/mame/machine/super80.cpp
+++ b/src/mame/machine/super80.cpp
@@ -91,7 +91,7 @@ TIMER_DEVICE_CALLBACK_MEMBER( super80_state::kansas_r )
TIMER_DEVICE_CALLBACK_MEMBER( super80_state::timer_h )
{
uint8_t go_fast = 0;
- if ( (!BIT(m_portf0, 2)) | (!BIT(m_io_config->read(), 1)) ) // bit 2 of port F0 is low, OR user turned on config switch
+ if ( (!BIT(m_portf0, 2)) || (!BIT(m_io_config->read(), 1)) ) // bit 2 of port F0 is low, OR user turned on config switch
go_fast++; // must be 1 at boot so banking works correctly
/* code to slow down computer to 1 MHz by halting cpu on every second frame */