diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-25 02:15:47 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-25 02:15:50 +0200 |
commit | b6425c0511f52c63f9f25f5ab8cf18325932aca3 (patch) | |
tree | 4a2e0ac52e87306e082e09ef75a883d9aa4dec93 /src/video_core/debug_utils/debug_utils.h | |
parent | Port #4013 from Citra: "Init logging sooner so we dont miss some logs on startup" (#1142) (diff) | |
download | yuzu-b6425c0511f52c63f9f25f5ab8cf18325932aca3.tar yuzu-b6425c0511f52c63f9f25f5ab8cf18325932aca3.tar.gz yuzu-b6425c0511f52c63f9f25f5ab8cf18325932aca3.tar.bz2 yuzu-b6425c0511f52c63f9f25f5ab8cf18325932aca3.tar.lz yuzu-b6425c0511f52c63f9f25f5ab8cf18325932aca3.tar.xz yuzu-b6425c0511f52c63f9f25f5ab8cf18325932aca3.tar.zst yuzu-b6425c0511f52c63f9f25f5ab8cf18325932aca3.zip |
Diffstat (limited to '')
-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: } // 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: |