mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-26 23:55:40 +00:00
Qt: Fix crash in advanced reset to defaults
This commit is contained in:
parent
10d42446f4
commit
907bba19c0
|
@ -113,9 +113,10 @@ void AdvancedSettingsWidget::onResetToDefaultClicked()
|
||||||
setBooleanTweakOption(m_ui.tweakOptionTable, 1, false);
|
setBooleanTweakOption(m_ui.tweakOptionTable, 1, false);
|
||||||
setBooleanTweakOption(m_ui.tweakOptionTable, 2, false);
|
setBooleanTweakOption(m_ui.tweakOptionTable, 2, false);
|
||||||
setBooleanTweakOption(m_ui.tweakOptionTable, 3, false);
|
setBooleanTweakOption(m_ui.tweakOptionTable, 3, false);
|
||||||
setIntRangeTweakOption(m_ui.tweakOptionTable, 4, static_cast<int>(Settings::DEFAULT_DMA_MAX_SLICE_TICKS));
|
setBooleanTweakOption(m_ui.tweakOptionTable, 4, false);
|
||||||
setIntRangeTweakOption(m_ui.tweakOptionTable, 5, static_cast<int>(Settings::DEFAULT_DMA_HALT_TICKS));
|
setIntRangeTweakOption(m_ui.tweakOptionTable, 5, static_cast<int>(Settings::DEFAULT_DMA_MAX_SLICE_TICKS));
|
||||||
setIntRangeTweakOption(m_ui.tweakOptionTable, 6, static_cast<int>(Settings::DEFAULT_GPU_FIFO_SIZE));
|
setIntRangeTweakOption(m_ui.tweakOptionTable, 6, static_cast<int>(Settings::DEFAULT_DMA_HALT_TICKS));
|
||||||
setIntRangeTweakOption(m_ui.tweakOptionTable, 7, static_cast<int>(Settings::DEFAULT_GPU_MAX_RUN_AHEAD));
|
setIntRangeTweakOption(m_ui.tweakOptionTable, 7, static_cast<int>(Settings::DEFAULT_GPU_FIFO_SIZE));
|
||||||
setBooleanTweakOption(m_ui.tweakOptionTable, 8, false);
|
setIntRangeTweakOption(m_ui.tweakOptionTable, 8, static_cast<int>(Settings::DEFAULT_GPU_MAX_RUN_AHEAD));
|
||||||
|
setBooleanTweakOption(m_ui.tweakOptionTable, 9, false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue