mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-19 19:15:26 +00:00
D3D12 Adapter setting fix
This commit is contained in:
parent
6312bf5323
commit
f63ec52479
1 changed files with 2 additions and 2 deletions
|
@ -384,8 +384,6 @@ SettingsDialog::SettingsDialog(wxWindow* parent)
|
|||
pads.emplace_back(std::make_unique<checkbox_pad>(cfg_location{ "Miscellaneous", "Auto Pause at System Call" }, chbox_dbg_ap_systemcall));
|
||||
pads.emplace_back(std::make_unique<checkbox_pad>(cfg_location{ "Miscellaneous", "Auto Pause at Function Call" }, chbox_dbg_ap_functioncall));
|
||||
|
||||
pads.emplace_back(std::make_unique<combobox_pad>(cfg_location{ "Video", "D3D12", "Adapter" }, cbox_gs_d3d_adapter));
|
||||
|
||||
#ifdef _MSC_VER
|
||||
Microsoft::WRL::ComPtr<IDXGIFactory4> dxgi_factory;
|
||||
|
||||
|
@ -399,6 +397,8 @@ SettingsDialog::SettingsDialog(wxWindow* parent)
|
|||
adapter->GetDesc(&desc);
|
||||
cbox_gs_d3d_adapter->Append(desc.Description);
|
||||
}
|
||||
|
||||
pads.emplace_back(std::make_unique<combobox_pad>(cfg_location{ "Video", "D3D12", "Adapter" }, cbox_gs_d3d_adapter));
|
||||
}
|
||||
else
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue