1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-05 10:28:58 +00:00

Avoid STOP.

This commit is contained in:
Thomas Harte 2022-06-09 08:42:31 -04:00
parent cc7a4f7f91
commit fdcbf617d8

View File

@ -262,7 +262,10 @@ template <typename M68000> struct Tester {
// Test only defined opcodes.
const auto instruction = decoder.decode(uint16_t(c));
if(instruction.operation == InstructionSet::M68k::Operation::Undefined) {
if(
instruction.operation == InstructionSet::M68k::Operation::Undefined ||
instruction.operation == InstructionSet::M68k::Operation::STOP
) {
continue;
}