diff --git a/src/core/gpu_thread.cpp b/src/core/gpu_thread.cpp index 5ee5eaef7..0902c516d 100644 --- a/src/core/gpu_thread.cpp +++ b/src/core/gpu_thread.cpp @@ -494,7 +494,7 @@ void GPUThread::Internal::DoRunIdle() if (!PresentFrameAndRestoreContext()) return; - if (!g_gpu_device->GetMainSwapChain()->IsVSyncModeBlocking()) + if (g_gpu_device->HasMainSwapChain() && !g_gpu_device->GetMainSwapChain()->IsVSyncModeBlocking()) g_gpu_device->GetMainSwapChain()->ThrottlePresentation(); } @@ -548,7 +548,7 @@ void GPUThread::StopFullscreenUI() // Don't need to reconfigure if we already have a system. if (System::IsValid()) { - RunOnThread([]() { s_state.requested_fullscreen_ui = true; }); + RunOnThread([]() { s_state.requested_fullscreen_ui = false; }); return; } diff --git a/src/duckstation-mini/mini_host.cpp b/src/duckstation-mini/mini_host.cpp index 15e40b478..146ff21e1 100644 --- a/src/duckstation-mini/mini_host.cpp +++ b/src/duckstation-mini/mini_host.cpp @@ -1050,7 +1050,7 @@ void MiniHost::CPUThreadMainLoop() void MiniHost::GPUThreadEntryPoint() { - Threading::SetNameOfCurrentThread("CPU Thread"); + Threading::SetNameOfCurrentThread("GPU Thread"); GPUThread::Internal::GPUThreadEntryPoint(); }