mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06: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:
@ -263,12 +263,5 @@ void HacksWidget::UpdateSkipPresentingDuplicateFramesEnabled()
|
|||||||
{
|
{
|
||||||
// If Immediate XFB is on, there's no point to skipping duplicate XFB copies as immediate presents
|
// 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.
|
// when the XFB is created, therefore all XFB copies will be unique.
|
||||||
// This setting is also required for VI skip to work.
|
m_skip_duplicate_xfbs->setDisabled(m_immediate_xfb->isChecked() || m_vi_skip->isChecked());
|
||||||
|
|
||||||
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);
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user