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]);
|
result = u128::From32(fpuRegs.fprc[num]);
|
||||||
break;
|
break;
|
||||||
case EECAT_VU0F:
|
case EECAT_VU0F:
|
||||||
result = VU1.VF[num].UQ;
|
result = VU0.VF[num].UQ;
|
||||||
break;
|
break;
|
||||||
case EECAT_VU0I:
|
case EECAT_VU0I:
|
||||||
result = u128::From32(VU1.VI[num].UL);
|
result = u128::From32(VU0.VI[num].UL);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
result = u128::From32(0);
|
result = u128::From32(0);
|
||||||
|
@ -519,10 +519,10 @@ void R5900DebugInterface::setRegister(int cat, int num, u128 newValue)
|
||||||
fpuRegs.fprc[num] = newValue._u32[0];
|
fpuRegs.fprc[num] = newValue._u32[0];
|
||||||
break;
|
break;
|
||||||
case EECAT_VU0F:
|
case EECAT_VU0F:
|
||||||
VU1.VF[num].UQ = newValue;
|
VU0.VF[num].UQ = newValue;
|
||||||
break;
|
break;
|
||||||
case EECAT_VU0I:
|
case EECAT_VU0I:
|
||||||
VU1.VI[num].UL = newValue._u32[0];
|
VU0.VI[num].UL = newValue._u32[0];
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue