mirror of https://github.com/PCSX2/pcsx2.git
pcsx2:DebugTools: init members in constructor
This commit is contained in:
parent
78ed0495ce
commit
1c14389c7f
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -43,7 +43,8 @@ struct BreakPointCond
|
|||
|
||||
struct BreakPoint
|
||||
{
|
||||
BreakPoint() : hasCond(false) {}
|
||||
BreakPoint() : addr(0), enabled(false), temporary(false), hasCond(false)
|
||||
{}
|
||||
|
||||
u32 addr;
|
||||
bool enabled;
|
||||
|
|
Loading…
Reference in New Issue