FullscreenUI: Fix disc swap running on GPU thread

This commit is contained in:
Stenzek 2025-01-18 13:11:54 +10:00
parent d054d76a76
commit e94973cd28
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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();