Skip to content

Commit f63ec52

Browse files
committed
D3D12 Adapter setting fix
1 parent 6312bf5 commit f63ec52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rpcs3/Gui/SettingsDialog.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,6 @@ SettingsDialog::SettingsDialog(wxWindow* parent)
384384
pads.emplace_back(std::make_unique<checkbox_pad>(cfg_location{ "Miscellaneous", "Auto Pause at System Call" }, chbox_dbg_ap_systemcall));
385385
pads.emplace_back(std::make_unique<checkbox_pad>(cfg_location{ "Miscellaneous", "Auto Pause at Function Call" }, chbox_dbg_ap_functioncall));
386386

387-
pads.emplace_back(std::make_unique<combobox_pad>(cfg_location{ "Video", "D3D12", "Adapter" }, cbox_gs_d3d_adapter));
388-
389387
#ifdef _MSC_VER
390388
Microsoft::WRL::ComPtr<IDXGIFactory4> dxgi_factory;
391389

@@ -399,6 +397,8 @@ SettingsDialog::SettingsDialog(wxWindow* parent)
399397
adapter->GetDesc(&desc);
400398
cbox_gs_d3d_adapter->Append(desc.Description);
401399
}
400+
401+
pads.emplace_back(std::make_unique<combobox_pad>(cfg_location{ "Video", "D3D12", "Adapter" }, cbox_gs_d3d_adapter));
402402
}
403403
else
404404
#endif

0 commit comments

Comments
 (0)