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