Core: Fix R4300iOp::LWC1 to have 64bit address

This commit is contained in:
zilmar 2022-10-17 08:36:17 +10:30
parent c16307ec0f
commit 65bbc375b9
1 changed files with 1 additions and 1 deletions

View File

@ -1260,7 +1260,7 @@ void R4300iOp::LL()
void R4300iOp::LWC1()
{
TEST_COP1_USABLE_EXCEPTION();
uint32_t Address = _GPR[m_Opcode.base].UW[0] + (uint32_t)((int16_t)m_Opcode.offset);
uint64_t Address = _GPR[m_Opcode.base].DW + (int16_t)m_Opcode.offset;
g_MMU->LW_Memory(Address, *(uint32_t *)_FPR_S[m_Opcode.ft]);
}