Add simon1amiga to debug

svn-id: r7602
This commit is contained in:
Travis Howell 2003-05-17 08:54:46 +00:00
parent 0b3d9df5b2
commit a91b28848c

View file

@ -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);