mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-12-24 10:53:21 +00:00
commit
73ee85e9ae
1 changed files with 3 additions and 1 deletions
|
@ -120,7 +120,9 @@ bool MacroInterpreter::Step(u32 offset, bool is_delay_slot) {
|
||||||
|
|
||||||
// An instruction with the Exit flag will not actually
|
// An instruction with the Exit flag will not actually
|
||||||
// cause an exit if it's executed inside a delay slot.
|
// cause an exit if it's executed inside a delay slot.
|
||||||
if (opcode.is_exit && !is_delay_slot) {
|
// TODO(Blinkhawk): Reversed to always exit. The behavior explained above requires further
|
||||||
|
// testing on the MME code.
|
||||||
|
if (opcode.is_exit) {
|
||||||
// Exit has a delay slot, execute the next instruction
|
// Exit has a delay slot, execute the next instruction
|
||||||
Step(offset, true);
|
Step(offset, true);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue