mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 14:08:56 -06:00

GCAdapter::UseAdapter() reads s_is_adapter_wanted, which gets initialized by config_guard.~ConfigChangeCallbackGuard(). So we must wait until after destroying the config guard to know whether we have any controllers set to GC Adapter.