diff --git a/pcsx2/Counters.cpp b/pcsx2/Counters.cpp index acfc712d0..37dc7596e 100644 --- a/pcsx2/Counters.cpp +++ b/pcsx2/Counters.cpp @@ -335,14 +335,13 @@ u32 UpdateVSyncRate() scanlines = SCANLINES_TOTAL_NTSC; break; - // Falls through to unknown when unidentified mode parameter of SetGsCrt is detected. case GS_VideoMode::Unknown: + default: + // Falls through to default when unidentified mode parameter of SetGsCrt is detected. // For Release builds, keep using the NTSC timing values when unknown video mode is detected. // Assert will be triggered for debug/dev builds. scanlines = SCANLINES_TOTAL_NTSC; Console.Error("PCSX2-Counters: Unknown video mode detected"); - - default: pxAssertDev(false , "Unknown video mode detected via SetGsCrt"); } diff --git a/pcsx2/x86/sVU_zerorec.cpp b/pcsx2/x86/sVU_zerorec.cpp index 7791f22ac..7412997ce 100644 --- a/pcsx2/x86/sVU_zerorec.cpp +++ b/pcsx2/x86/sVU_zerorec.cpp @@ -304,13 +304,17 @@ VuBaseBlock::VuBaseBlock() type = 0; endpc = 0; cycles = 0; - pcode = NULL; id = 0; memzero(pChildJumps); memzero(startregs); memzero(endregs); allocX86Regs = nStartx86 = nEndx86 = -1; prevFlagsOutOfBlock = 0; + startpc = 0; + vuxy = 0; + vuxyz = 0; + pendcode = nullptr; + pcode = nullptr; } #define SUPERVU_STACKSIZE 0x1000 diff --git a/plugins/LilyPad/InputManager.cpp b/plugins/LilyPad/InputManager.cpp index 97976952d..2891f32c6 100644 --- a/plugins/LilyPad/InputManager.cpp +++ b/plugins/LilyPad/InputManager.cpp @@ -433,7 +433,6 @@ Device *InputDeviceManager::GetActiveDevice(InitInfo *info, unsigned int *uid, i (devices[i]->oldVirtualControlState[j] > 31*FULLY_DOWN/32 && devices[i]->virtualControlState[j] < 7*FULLY_DOWN/8))) { continue; } - devices[i]->virtualControls[j].uid = devices[i]->virtualControls[j].uid; } else if ((((devices[i]->virtualControls[j].uid>>16)&0xFF) == ABSAXIS)) { if (devices[i]->oldVirtualControlState[j] > 15*FULLY_DOWN/16)