mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-26 22:13:52 +01: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.