FullscreenUI: Fix disc swap running on GPU thread
This commit is contained in:
parent
d054d76a76
commit
e94973cd28
|
@ -1370,7 +1370,7 @@ void FullscreenUI::DoChangeDisc()
|
||||||
}
|
}
|
||||||
else if (index > 0)
|
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();
|
CloseChoiceDialog();
|
||||||
|
|
Loading…
Reference in New Issue