mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Remove DVDInterface::ChangeDiscAsHost
There isn't much point in keeping this utility function around now that RunAsCPUThread provides a simple way of running things on the CPU thread.
This commit is contained in:
@ -417,7 +417,8 @@ void GameList::DeleteFile()
|
||||
|
||||
void GameList::ChangeDisc()
|
||||
{
|
||||
DVDInterface::ChangeDiscAsHost(GetSelectedGame()->GetFilePath().toStdString());
|
||||
Core::RunAsCPUThread(
|
||||
[this] { DVDInterface::ChangeDisc(GetSelectedGame()->GetFilePath().toStdString()); });
|
||||
}
|
||||
|
||||
QSharedPointer<GameFile> GameList::GetSelectedGame() const
|
||||
|
Reference in New Issue
Block a user