mirror of
https://github.com/holub/mame
synced 2025-04-24 09:20:02 +03:00
Merge pull request #1610 from npwoods/fix_6x09dasm_bug
Fixed a recently introduced bug in the 6x09 disassembler
This commit is contained in:
commit
ef5d2a5508
@ -167,6 +167,11 @@ const opcodeinfo *m6x09_disassembler_base::fetch_opcode(const uint8_t *oprom, in
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
||||
// is this an HD6309 exclusive instruction, and we're not HD6309? if so, reject it
|
||||
if (op && (op->level() > m_level))
|
||||
op = nullptr;
|
||||
|
||||
return op;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user