yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

debug_utils: Initialize active_breakpoint member of DebugContext

Ensures that all class members are initialized.
This commit is contained in:
Lioncash 2018-08-24 20:15:47 -04:00
parent 165c23c848
commit b6425c0511
1 changed files with 2 additions and 2 deletions

View File

@ -141,8 +141,8 @@ public:
}
// TODO: Evaluate if access to these members should be hidden behind a public interface.
std::array<BreakPoint, (int)Event::NumEvents> breakpoints;
Event active_breakpoint;
std::array<BreakPoint, static_cast<int>(Event::NumEvents)> breakpoints;
Event active_breakpoint{};
bool at_breakpoint = false;
private: