CPU/Recompiler: Implement add/addu/addi

This commit is contained in:
Connor McLaughlin
2019-11-23 00:26:56 +10:00
parent 641e68db95
commit f14ad1d3c4
8 changed files with 113 additions and 33 deletions

View File

@ -78,6 +78,11 @@ void Thunks::UpdateLoadDelay(Core* cpu)
cpu->UpdateLoadDelay();
}
void Thunks::RaiseException(Core* cpu, u8 excode)
{
cpu->RaiseException(static_cast<Exception>(excode));
}
void Thunks::RaiseAddressException(Core* cpu, u32 address, bool store, bool branch)
{
cpu->m_cop0_regs.BadVaddr = address;