QT: set Texture Offsets & Skipdraw Range per game only

This commit is contained in:
Mrlinkwii 2022-07-07 19:04:39 +01:00 committed by refractionpcsx2
parent fbac3ebad1
commit e48e810005
1 changed files with 8 additions and 0 deletions

View File

@ -290,6 +290,14 @@ GraphicsSettingsWidget::GraphicsSettingsWidget(SettingsDialog* dialog, QWidget*
// only allow disabling readbacks for per-game settings, it's too dangerous
m_ui.disableHardwareReadbacks->setEnabled(m_dialog->isPerGameSettings());
// allow Texture Offset for per-game settings only
m_ui.textureOffsetX->setEnabled(m_dialog->isPerGameSettings());
m_ui.textureOffsetY->setEnabled(m_dialog->isPerGameSettings());
// allow Skipdraw Range for per-game settings only
m_ui.skipDrawStart->setEnabled(m_dialog->isPerGameSettings());
m_ui.skipDrawEnd->setEnabled(m_dialog->isPerGameSettings());
// Display tab
{