mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
BreakPoints: Add initializers for TBreakPoint and TWatch
Ensures all members are consistently initialized.
This commit is contained in:
@ -13,9 +13,9 @@ class DebugInterface;
|
||||
|
||||
struct TBreakPoint
|
||||
{
|
||||
u32 iAddress;
|
||||
bool bOn;
|
||||
bool bTemporary;
|
||||
u32 iAddress = 0;
|
||||
bool bOn = false;
|
||||
bool bTemporary = false;
|
||||
};
|
||||
|
||||
struct TMemCheck
|
||||
@ -39,9 +39,9 @@ struct TMemCheck
|
||||
|
||||
struct TWatch
|
||||
{
|
||||
std::string name = "";
|
||||
u32 iAddress;
|
||||
bool bOn;
|
||||
std::string name;
|
||||
u32 iAddress = 0;
|
||||
bool bOn = false;
|
||||
};
|
||||
|
||||
// Code breakpoints.
|
||||
|
Reference in New Issue
Block a user