mirror of https://github.com/PCSX2/pcsx2.git
VU Interpreter: Fix uninitialized scalar variable Coverity CID #146964.
This commit is contained in:
parent
166818670e
commit
457362ba84
|
@ -85,6 +85,9 @@ static void _vu1Exec(VURegs* VU)
|
||||||
_vu1ExecUpper(VU, ptr);
|
_vu1ExecUpper(VU, ptr);
|
||||||
|
|
||||||
VU->VI[REG_I].UL = ptr[0];
|
VU->VI[REG_I].UL = ptr[0];
|
||||||
|
//Lower not used, set to 0 to fill in the FMAC stall gap
|
||||||
|
//Could probably get away with just running upper stalls, but lets not tempt fate.
|
||||||
|
memset(&lregs, 0, sizeof(lregs));
|
||||||
} else {
|
} else {
|
||||||
VU->code = ptr[0];
|
VU->code = ptr[0];
|
||||||
VU1regs_LOWER_OPCODE[VU->code >> 25](&lregs);
|
VU1regs_LOWER_OPCODE[VU->code >> 25](&lregs);
|
||||||
|
|
Loading…
Reference in New Issue