Skip to content

Commit

Permalink
D3D12 Adapter setting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nekotekina committed Apr 15, 2016
1 parent 6312bf5 commit f63ec52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rpcs3/Gui/SettingsDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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
Expand Down

0 comments on commit f63ec52

Please sign in to comment.