mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 23:15:18 +00:00
Add LLVM Debug / Release configurations for gui solution. Disable some DX12-only options on non-DX12 builds
This commit is contained in:
parent
6ae7f450f1
commit
c0b90d01bd
4 changed files with 272 additions and 8 deletions
|
|
@ -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()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue