diff options
| author | bunnei <bunneidev@gmail.com> | 2016-04-25 21:37:43 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2016-04-25 21:37:43 -0400 |
| commit | 15c907317c269e06fcfeddbf98abdcb1e5e135c8 (patch) | |
| tree | 91a2463392ed42a39513df149d321ba7183b6b51 /src/video_core/debug_utils/debug_utils.cpp | |
| parent | 28de7f584e25269a4914a6d11b000f7e817cc1b4 (diff) | |
| parent | 01a1555b5d6d6b560c3168b76e5235175e7d081b (diff) | |
Merge pull request #1710 from hrydgard/optimize-event-breakpoints
Replace std::map with std::array for graphics event breakpoints
Diffstat (limited to 'src/video_core/debug_utils/debug_utils.cpp')
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp index 1f058c4e2..178a566f7 100644 --- a/src/video_core/debug_utils/debug_utils.cpp +++ b/src/video_core/debug_utils/debug_utils.cpp @@ -40,10 +40,7 @@ using nihstro::DVLPHeader; namespace Pica { -void DebugContext::OnEvent(Event event, void* data) { - if (!breakpoints[event].enabled) - return; - +void DebugContext::DoOnEvent(Event event, void* data) { { std::unique_lock<std::mutex> lock(breakpoint_mutex); |
