Skip to content

Commit

Permalink
FullscreenUI: Fix disc swap running on GPU thread
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jan 18, 2025
1 parent d054d76 commit e94973c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/fullscreen_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e94973c

Please sign in to comment.