RSP: Fix up AccurateEmulation for interpreter
This commit is contained in:
parent
54be4d8135
commit
3394be733f
|
@ -112,6 +112,10 @@ void Build_RSP(void)
|
||||||
for (uint8_t z = 0; z < 8; z++)
|
for (uint8_t z = 0; z < 8; z++)
|
||||||
{
|
{
|
||||||
Indx[i].B[z] = 7 - Indx[i].B[z];
|
Indx[i].B[z] = 7 - Indx[i].B[z];
|
||||||
|
if (!AccurateEmulation)
|
||||||
|
{
|
||||||
|
EleSpec[i].B[z] = 7 - EleSpec[i].B[z];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
for (uint8_t z = 0; z < 4; z++)
|
for (uint8_t z = 0; z < 4; z++)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1966,8 +1966,8 @@ void RSP_Vector_VMOV(void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
uint8_t del = EleSpec[RSPOpC.e].B[Index];
|
uint8_t del = EleSpec[RSPOpC.e].B[7 - Index];
|
||||||
RSP_Vect[RSPOpC.vd].u16(7 - Index) = RSP_Vect[RSPOpC.vt].s16(7 - del);
|
RSP_Vect[RSPOpC.vd].u16(7 - Index) = RSP_Vect[RSPOpC.vt].s16(del);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue