diff --git a/UnleashedRecomp/gpu/video.cpp b/UnleashedRecomp/gpu/video.cpp index fb0079a..4a0e101 100644 --- a/UnleashedRecomp/gpu/video.cpp +++ b/UnleashedRecomp/gpu/video.cpp @@ -2232,8 +2232,12 @@ static void DrawProfiler() bool toggleProfiler = SDL_GetKeyboardState(nullptr)[SDL_SCANCODE_F1] != 0; if (!g_profilerWasToggled && toggleProfiler) + { g_profilerVisible = !g_profilerVisible; + GameWindow::SetFullscreenCursorVisibility(App::s_isInit ? g_profilerVisible : true); + } + g_profilerWasToggled = toggleProfiler; if (!g_profilerVisible)