Add LLVM Debug / Release configurations for gui solution. Disable some DX12-only options on non-DX12 builds

This commit is contained in:
O1L 2015-08-24 20:07:15 +04:00 committed by Nekotekina
parent 6ae7f450f1
commit c0b90d01bd
4 changed files with 272 additions and 8 deletions

View file

@ -142,6 +142,7 @@ SettingsDialog::SettingsDialog(wxWindow *parent)
ppu_decoder_modes.Add("Interpreter 2");
ppu_decoder_modes.Add("Recompiler (LLVM)");
rbox_ppu_decoder = new wxRadioBox(p_core, wxID_ANY, "PPU Decoder", wxDefaultPosition, wxSize(215, -1), ppu_decoder_modes, 1);
#if !defined(LLVM_AVAILABLE)
rbox_ppu_decoder->Enable(2, false);
#endif
@ -164,6 +165,11 @@ SettingsDialog::SettingsDialog(wxWindow *parent)
cbox_gs_d3d_adaptater->Append("renderer 1");
cbox_gs_d3d_adaptater->Append("renderer 2");
#if !defined(DX12_SUPPORT)
cbox_gs_d3d_adaptater->Enable(false);
chbox_gs_overlay->Enable(false);
#endif
for (int i = 1; i < WXSIZEOF(ResolutionTable); ++i)
{
cbox_gs_resolution->Append(wxString::Format("%dx%d", ResolutionTable[i].width.value(), ResolutionTable[i].height.value()));