mirror of https://github.com/PCSX2/pcsx2.git
Debugger: Display/set correct VU values (#2526)
This commit is contained in:
parent
0efbd283c4
commit
4e429b27be
|
@ -435,10 +435,10 @@ u128 R5900DebugInterface::getRegister(int cat, int num)
|
|||
result = u128::From32(fpuRegs.fprc[num]);
|
||||
break;
|
||||
case EECAT_VU0F:
|
||||
result = VU1.VF[num].UQ;
|
||||
result = VU0.VF[num].UQ;
|
||||
break;
|
||||
case EECAT_VU0I:
|
||||
result = u128::From32(VU1.VI[num].UL);
|
||||
result = u128::From32(VU0.VI[num].UL);
|
||||
break;
|
||||
default:
|
||||
result = u128::From32(0);
|
||||
|
@ -519,10 +519,10 @@ void R5900DebugInterface::setRegister(int cat, int num, u128 newValue)
|
|||
fpuRegs.fprc[num] = newValue._u32[0];
|
||||
break;
|
||||
case EECAT_VU0F:
|
||||
VU1.VF[num].UQ = newValue;
|
||||
VU0.VF[num].UQ = newValue;
|
||||
break;
|
||||
case EECAT_VU0I:
|
||||
VU1.VI[num].UL = newValue._u32[0];
|
||||
VU0.VI[num].UL = newValue._u32[0];
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue