diff --git a/pcsx2/DebugTools/Breakpoints.cpp b/pcsx2/DebugTools/Breakpoints.cpp index 105c3610f8..90d24572d6 100644 --- a/pcsx2/DebugTools/Breakpoints.cpp +++ b/pcsx2/DebugTools/Breakpoints.cpp @@ -45,7 +45,14 @@ u32 __fastcall standardizeBreakpointAddress(u32 addr) return addr; } -MemCheck::MemCheck() +MemCheck::MemCheck() : + start(0), + end(0), + cond(MEMCHECK_READWRITE), + result(MEMCHECK_BOTH), + lastPC(0), + lastAddr(0), + lastSize(0) { numHits = 0; } diff --git a/pcsx2/DebugTools/Breakpoints.h b/pcsx2/DebugTools/Breakpoints.h index 48f79f5563..131eb2e521 100644 --- a/pcsx2/DebugTools/Breakpoints.h +++ b/pcsx2/DebugTools/Breakpoints.h @@ -43,7 +43,8 @@ struct BreakPointCond struct BreakPoint { - BreakPoint() : hasCond(false) {} + BreakPoint() : addr(0), enabled(false), temporary(false), hasCond(false) + {} u32 addr; bool enabled;