diff options
Diffstat (limited to '')
| -rw-r--r-- | src/citra_qt/bootmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp index a96fbea5f..f8aacb527 100644 --- a/src/citra_qt/bootmanager.cpp +++ b/src/citra_qt/bootmanager.cpp | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | #include "common/string_util.h" | 14 | #include "common/string_util.h" |
| 15 | #include "common/scm_rev.h" | 15 | #include "common/scm_rev.h" |
| 16 | #include "common/key_map.h" | 16 | #include "common/key_map.h" |
| 17 | #include "common/microprofile.h" | ||
| 17 | 18 | ||
| 18 | #include "core/core.h" | 19 | #include "core/core.h" |
| 19 | #include "core/settings.h" | 20 | #include "core/settings.h" |
| @@ -37,6 +38,8 @@ EmuThread::EmuThread(GRenderWindow* render_window) : | |||
| 37 | void EmuThread::run() { | 38 | void EmuThread::run() { |
| 38 | render_window->MakeCurrent(); | 39 | render_window->MakeCurrent(); |
| 39 | 40 | ||
| 41 | MicroProfileOnThreadCreate("EmuThread"); | ||
| 42 | |||
| 40 | stop_run = false; | 43 | stop_run = false; |
| 41 | 44 | ||
| 42 | // holds whether the cpu was running during the last iteration, | 45 | // holds whether the cpu was running during the last iteration, |
| @@ -69,6 +72,8 @@ void EmuThread::run() { | |||
| 69 | } | 72 | } |
| 70 | } | 73 | } |
| 71 | 74 | ||
| 75 | MicroProfileOnThreadExit(); | ||
| 76 | |||
| 72 | render_window->moveContext(); | 77 | render_window->moveContext(); |
| 73 | } | 78 | } |
| 74 | 79 | ||