Skip to content

Commit

Permalink
QT: set Texture Offsets & Skipdraw Range per game only
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrlinkwii authored and refractionpcsx2 committed Jul 8, 2022
1 parent fbac3eb commit e48e810
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pcsx2-qt/Settings/GraphicsSettingsWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
{

Expand Down

0 comments on commit e48e810

Please sign in to comment.