mirror of https://github.com/PCSX2/pcsx2.git
QT: set Texture Offsets & Skipdraw Range per game only
This commit is contained in:
parent
fbac3ebad1
commit
e48e810005
|
@ -290,6 +290,14 @@ GraphicsSettingsWidget::GraphicsSettingsWidget(SettingsDialog* dialog, QWidget*
|
||||||
// only allow disabling readbacks for per-game settings, it's too dangerous
|
// only allow disabling readbacks for per-game settings, it's too dangerous
|
||||||
m_ui.disableHardwareReadbacks->setEnabled(m_dialog->isPerGameSettings());
|
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
|
// Display tab
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue