summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
authorGravatarGravatar Vas Crabb <vas@vastheman.com>2019-11-20 03:43:57 +1100
committerGravatarGravatar Vas Crabb <vas@vastheman.com>2019-11-20 03:43:57 +1100
commit593b3d9fe1d8fe301b55463f1d7f1d1521f88199 (patch)
tree5c699d2cc754bcf5d7eff25e9e643ba6059f1298 /src/emu
parent228540e279df18da1dabec3819024c412ee7611e (diff)
simplest change possible to fix display of codes starting with 'not' - e.g. this fixes 'not A S' being displayed as 'A S'
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/input.cpp b/src/emu/input.cpp
index 1a5351c3c59..64aa4382c97 100644
--- a/src/emu/input.cpp
+++ b/src/emu/input.cpp
@@ -1483,7 +1483,7 @@ input_seq input_manager::seq_clean(const input_seq &seq) const
clean_index--;
}
}
- else if (clean_index > 0 || !code.internal())
+ else if (clean_index > 0 || !code.internal() || code == input_seq::not_code)
{
clean_codes += code;
clean_index++;