From 1ec478a2aff1efcf26aa3c381f9c3442e8c45490 Mon Sep 17 00:00:00 2001 From: Gamer64 <76565986+Gamer64ytb@users.noreply.github.com> Date: Sat, 2 Aug 2025 04:37:17 +0200 Subject: [PATCH] umm... --- src/video_core/gpu_thread.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp index e2bfdcd7fd..2b4bce4f8d 100644 --- a/src/video_core/gpu_thread.cpp +++ b/src/video_core/gpu_thread.cpp @@ -23,9 +23,11 @@ static void RunThread(std::stop_token stop_token, Core::System& system, Tegra::Control::Scheduler& scheduler, SynchState& state) { std::string name = "GPU"; MicroProfileOnThreadCreate(name.c_str()); +#if MICROPROFILE_ENABLED SCOPE_EXIT { MicroProfileOnThreadExit(); }; +#endif Common::SetCurrentThreadName(name.c_str()); Common::SetCurrentThreadPriority(Common::ThreadPriority::Critical);