CPU/Interpreter: IBE should not set BD/BT
Apparently. Nothing relies on this. :P
This commit is contained in:
parent
67041d217b
commit
62414b0c4c
|
@ -605,7 +605,8 @@ ALWAYS_INLINE_RELEASE void CPU::WriteCop0Reg(Cop0Reg reg, u32 value)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
[[unlikely]] default : DEV_LOG("Unknown COP0 reg write {} ({:08X})", static_cast<u8>(reg), value);
|
[[unlikely]] default:
|
||||||
|
DEV_LOG("Unknown COP0 reg write {} ({:08X})", static_cast<u8>(reg), value);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2840,10 +2841,7 @@ ALWAYS_INLINE_RELEASE bool CPU::FetchInstruction()
|
||||||
case 0x07: // KSEG2
|
case 0x07: // KSEG2
|
||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
CPU::RaiseException(Cop0Registers::CAUSE::MakeValueForException(Exception::IBE,
|
CPU::RaiseException(Cop0Registers::CAUSE::MakeValueForException(Exception::IBE, false, false, 0), address);
|
||||||
g_state.current_instruction_in_branch_delay_slot,
|
|
||||||
g_state.current_instruction_was_branch_taken, 0),
|
|
||||||
address);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue