BreakPoints: Add initializers for TBreakPoint and TWatch
Ensures all members are consistently initialized.
This commit is contained in:
parent
588374349f
commit
50ee01754e
|
@ -13,9 +13,9 @@ class DebugInterface;
|
||||||
|
|
||||||
struct TBreakPoint
|
struct TBreakPoint
|
||||||
{
|
{
|
||||||
u32 iAddress;
|
u32 iAddress = 0;
|
||||||
bool bOn;
|
bool bOn = false;
|
||||||
bool bTemporary;
|
bool bTemporary = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct TMemCheck
|
struct TMemCheck
|
||||||
|
@ -39,9 +39,9 @@ struct TMemCheck
|
||||||
|
|
||||||
struct TWatch
|
struct TWatch
|
||||||
{
|
{
|
||||||
std::string name = "";
|
std::string name;
|
||||||
u32 iAddress;
|
u32 iAddress = 0;
|
||||||
bool bOn;
|
bool bOn = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
// Code breakpoints.
|
// Code breakpoints.
|
||||||
|
|
Loading…
Reference in New Issue