mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Migrate video backend setting to the new config system
Fixes https://bugs.dolphin-emu.org/issues/12087
This commit is contained in:
@ -459,11 +459,7 @@ static void EmuThread(std::unique_ptr<BootParameters> boot, WindowSystemInfo wsi
|
||||
HLE::Clear();
|
||||
}};
|
||||
|
||||
// Backend info has to be initialized before we can initialize the backend.
|
||||
// This is because when we load the config, we validate it against the current backend info.
|
||||
// We also should have the correct adapter selected for creating the device in Initialize().
|
||||
g_video_backend->InitBackendInfo();
|
||||
g_Config.Refresh();
|
||||
VideoBackendBase::PopulateBackendInfo();
|
||||
|
||||
if (!g_video_backend->Initialize(wsi))
|
||||
{
|
||||
|
Reference in New Issue
Block a user