aboutsummaryrefslogtreecommitdiff
path: root/simon/debug.cpp
diff options
context:
space:
mode:
authorTravis Howell2003-05-17 08:54:46 +0000
committerTravis Howell2003-05-17 08:54:46 +0000
commita91b28848c5336b7395fab7fb0083d2cd05ff6fb (patch)
tree8bc60dc9e5d050833d8b2b84f871b242042f149d /simon/debug.cpp
parent0b3d9df5b2a2db1facc19f6b666e46b667215865 (diff)
downloadscummvm-rg350-a91b28848c5336b7395fab7fb0083d2cd05ff6fb.tar.gz
scummvm-rg350-a91b28848c5336b7395fab7fb0083d2cd05ff6fb.tar.bz2
scummvm-rg350-a91b28848c5336b7395fab7fb0083d2cd05ff6fb.zip
Add simon1amiga to debug
svn-id: r7602
Diffstat (limited to 'simon/debug.cpp')
-rw-r--r--simon/debug.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/simon/debug.cpp b/simon/debug.cpp
index df8b73280b..227587ed87 100644
--- a/simon/debug.cpp
+++ b/simon/debug.cpp
@@ -37,14 +37,14 @@ byte *SimonState::dumpOpcode(byte *p) {
opcode = *p++;
if (opcode == 255)
return NULL;
- if (_game == GAME_SIMON1DOS || _game == GAME_SIMON1DEMO) {
- st = s = simon1dos_opcode_name_table[opcode];
- } else if (_game == GAME_SIMON1CD32 || _game == GAME_SIMON1TALKIE || _game == GAME_SIMON1WIN) {
- st = s = simon1talkie_opcode_name_table[opcode];
- } else if (_game == GAME_SIMON2TALKIE || _game == GAME_SIMON2WIN) {
+ if (_game & GF_SIMON2 && _game & GF_TALKIE) {
st = s = simon2talkie_opcode_name_table[opcode];
- } else {
+ } else if (_game & GF_TALKIE) {
+ st = s = simon1talkie_opcode_name_table[opcode];
+ } else if (_game & GF_SIMON2) {
st = s = simon2dos_opcode_name_table[opcode];
+ } else {
+ st = s = simon1dos_opcode_name_table[opcode];
}
if (s == NULL) {
error("INVALID OPCODE %d\n", opcode);