mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-04 08:35:55 +00:00
Merge pull request #12015 from nyanpasu64/gc-adapter-sleep-detach
Fix GC Adapter breaking and burning a full CPU core after sleep-wake on Linux
This commit is contained in:
commit
fb2b3753b5
2 changed files with 23 additions and 13 deletions
|
@ -198,12 +198,11 @@ void GamecubeControllersWidget::SaveSettings()
|
|||
static_cast<s32>(i));
|
||||
}
|
||||
}
|
||||
|
||||
if (GCAdapter::UseAdapter())
|
||||
GCAdapter::StartScanThread();
|
||||
else
|
||||
GCAdapter::StopScanThread();
|
||||
}
|
||||
if (GCAdapter::UseAdapter())
|
||||
GCAdapter::StartScanThread();
|
||||
else
|
||||
GCAdapter::StopScanThread();
|
||||
|
||||
SConfig::GetInstance().SaveSettings();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue