mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 03:24:59 +00:00
DolphinQt: Don't toggle GFX_HACK_SKIP_DUPLICATE_XFBS when GFX_HACK_IMMEDIATE_XFB or GFX_HACK_VI_SKIP are enabled.
This commit is contained in:
parent
1b85da9b85
commit
920f940ad0
1 changed files with 1 additions and 8 deletions
|
@ -263,12 +263,5 @@ void HacksWidget::UpdateSkipPresentingDuplicateFramesEnabled()
|
|||
{
|
||||
// If Immediate XFB is on, there's no point to skipping duplicate XFB copies as immediate presents
|
||||
// when the XFB is created, therefore all XFB copies will be unique.
|
||||
// This setting is also required for VI skip to work.
|
||||
|
||||
const bool disabled = m_immediate_xfb->isChecked() || m_vi_skip->isChecked();
|
||||
|
||||
if (disabled)
|
||||
m_skip_duplicate_xfbs->setChecked(true);
|
||||
|
||||
m_skip_duplicate_xfbs->setEnabled(!disabled);
|
||||
m_skip_duplicate_xfbs->setDisabled(m_immediate_xfb->isChecked() || m_vi_skip->isChecked());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue