From e94973cd28141f442ad84229181b35ffd24dce6c Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 18 Jan 2025 13:11:54 +1000 Subject: [PATCH] FullscreenUI: Fix disc swap running on GPU thread --- src/core/fullscreen_ui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/fullscreen_ui.cpp b/src/core/fullscreen_ui.cpp index ef67e62859..8d10250b9a 100644 --- a/src/core/fullscreen_ui.cpp +++ b/src/core/fullscreen_ui.cpp @@ -1370,7 +1370,7 @@ void FullscreenUI::DoChangeDisc() } else if (index > 0) { - System::InsertMedia(paths[index - 1].c_str()); + Host::RunOnCPUThread([path = std::move(paths[index - 1])]() { System::InsertMedia(path.c_str()); }); } CloseChoiceDialog();