diff options
Diffstat (limited to 'src/core/hle')
| -rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp index 4b3581949..ceaa93d28 100644 --- a/src/core/hle/service/nvflinger/nvflinger.cpp +++ b/src/core/hle/service/nvflinger/nvflinger.cpp | |||
| @@ -38,6 +38,10 @@ void NVFlinger::SplitVSync() { | |||
| 38 | system.RegisterHostThread(); | 38 | system.RegisterHostThread(); |
| 39 | std::string name = "yuzu:VSyncThread"; | 39 | std::string name = "yuzu:VSyncThread"; |
| 40 | MicroProfileOnThreadCreate(name.c_str()); | 40 | MicroProfileOnThreadCreate(name.c_str()); |
| 41 | |||
| 42 | // Cleanup | ||
| 43 | SCOPE_EXIT({ MicroProfileOnThreadExit(); }); | ||
| 44 | |||
| 41 | Common::SetCurrentThreadName(name.c_str()); | 45 | Common::SetCurrentThreadName(name.c_str()); |
| 42 | Common::SetCurrentThreadPriority(Common::ThreadPriority::High); | 46 | Common::SetCurrentThreadPriority(Common::ThreadPriority::High); |
| 43 | s64 delay = 0; | 47 | s64 delay = 0; |