Skip to content

Commit

Permalink
Core: CX86RegInfo::FPRValuePointer when the format is FPU_Dword it sh…
Browse files Browse the repository at this point in the history
…ould be using m_FPR_UW
  • Loading branch information
project64 committed Jan 4, 2024
1 parent 320769d commit 91a8a82
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -363,7 +363,7 @@ asmjit::x86::Gp CX86RegInfo::FPRValuePointer(int32_t Reg, FPU_STATE Format)
switch (Format)
{
case FPU_Dword:
m_Assembler.MoveVariableToX86reg(TempReg, &g_Reg->m_FPR_S[Reg], stdstr_f("m_FPR_S[%d]", Reg).c_str());
m_Assembler.MoveVariableToX86reg(TempReg, &g_Reg->m_FPR_UW[Reg], stdstr_f("m_FPR_UW[%d]", Reg).c_str());
break;
case FPU_Qword:
m_Assembler.MoveVariableToX86reg(TempReg, &g_Reg->m_FPR_D[Reg], stdstr_f("m_FPR_D[%d]", Reg).c_str());
Expand Down

0 comments on commit 91a8a82

Please sign in to comment.