[Project64] Fix CRegisters::FixFpuLocations

This commit is contained in:
zilmar 2017-04-24 07:41:25 +10:00
parent c3d89e8fc1
commit 0e691d2e53
1 changed files with 150 additions and 149 deletions

View File

@ -390,7 +390,7 @@ void CRegisters::DoAddressError(bool DelaySlot, uint32_t BadVaddr, bool FromRead
m_PROGRAM_COUNTER = 0x80000180;
}
void CRegisters::FixFpuLocations()
void ()
{
if ((STATUS_REGISTER & STATUS_FR) == 0)
{
@ -402,8 +402,9 @@ void CRegisters::FixFpuLocations()
}
else
{
for (int count = 0; count < 32; count++) {
m_FPR_S[count] = &m_FPR[count].F[1];
for (int count = 0; count < 32; count++)
{
m_FPR_S[count] = &m_FPR[count].F[0];
m_FPR_D[count] = &m_FPR[count].D;
}
}