diff options
| author | 2018-08-24 20:15:47 -0400 | |
|---|---|---|
| committer | 2018-08-24 20:15:50 -0400 | |
| commit | b6425c0511f52c63f9f25f5ab8cf18325932aca3 (patch) | |
| tree | 4a2e0ac52e87306e082e09ef75a883d9aa4dec93 | |
| parent | Port #4013 from Citra: "Init logging sooner so we dont miss some logs on star... (diff) | |
| download | yuzu-b6425c0511f52c63f9f25f5ab8cf18325932aca3.tar.gz yuzu-b6425c0511f52c63f9f25f5ab8cf18325932aca3.tar.xz yuzu-b6425c0511f52c63f9f25f5ab8cf18325932aca3.zip | |
debug_utils: Initialize active_breakpoint member of DebugContext
Ensures that all class members are initialized.
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/debug_utils/debug_utils.h b/src/video_core/debug_utils/debug_utils.h index 9382a75e5..08356f103 100644 --- a/src/video_core/debug_utils/debug_utils.h +++ b/src/video_core/debug_utils/debug_utils.h | |||
| @@ -141,8 +141,8 @@ public: | |||
| 141 | } | 141 | } |
| 142 | 142 | ||
| 143 | // TODO: Evaluate if access to these members should be hidden behind a public interface. | 143 | // TODO: Evaluate if access to these members should be hidden behind a public interface. |
| 144 | std::array<BreakPoint, (int)Event::NumEvents> breakpoints; | 144 | std::array<BreakPoint, static_cast<int>(Event::NumEvents)> breakpoints; |
| 145 | Event active_breakpoint; | 145 | Event active_breakpoint{}; |
| 146 | bool at_breakpoint = false; | 146 | bool at_breakpoint = false; |
| 147 | 147 | ||
| 148 | private: | 148 | private: |