diff --git a/Processors/68000/Implementation/68000Implementation.hpp b/Processors/68000/Implementation/68000Implementation.hpp index 57c756449..00091ecfd 100644 --- a/Processors/68000/Implementation/68000Implementation.hpp +++ b/Processors/68000/Implementation/68000Implementation.hpp @@ -154,9 +154,9 @@ template void Proces // The vector used depends on whether this is a vanilla unrecognised instruction, // or one on the A or F lines. switch(decoded_instruction_ >> 12) { - default: populate_trap_steps(get_status(), 4); break; - case 0xa: populate_trap_steps(get_status(), 10); break; - case 0xf: populate_trap_steps(get_status(), 11); break; + default: populate_trap_steps(4, get_status()); break; + case 0xa: populate_trap_steps(10, get_status()); break; + case 0xf: populate_trap_steps(11, get_status()); break; } } }