aboutsummaryrefslogtreecommitdiff
path: root/simon/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'simon/debug.cpp')
-rw-r--r--simon/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/debug.cpp b/simon/debug.cpp
index a6e9281f06..01d8233527 100644
--- a/simon/debug.cpp
+++ b/simon/debug.cpp
@@ -42,7 +42,7 @@ byte *SimonState::dumpOpcode(byte *p)
st = s = simon1dos_opcode_name_table[opcode];
} else if (_game == GAME_SIMON1TALKIE || _game == GAME_SIMON1WIN) {
st = s = simon1talkie_opcode_name_table[opcode];
- } else if (_game == GAME_SIMON2TALKIE || _game == GAME_SIMON2WIN) {
+ } else if (_game == GAME_SIMON2TALKIE || _game & GAME_SIMON2WIN) {
st = s = simon2talkie_opcode_name_table[opcode];
} else {
st = s = simon2dos_opcode_name_table[opcode];