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 | 7ffba72141663846e4f8b9040ee231d89ea8c020 (patch) | |
| tree | 91a2463392ed42a39513df149d321ba7183b6b51 /src/video_core/debug_utils/debug_utils.cpp | |
| parent | 93ecf0b4423a6e89c4981f4f017b7928c7928dd9 (diff) | |
| parent | 76a55f83c7f9d104e7fe89b7defbca9be4f25b78 (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 1f058c4e2d..178a566f73 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); |
