Qt: Add descriptions for new experimental settings in GUI (#3573)

* add descriptions for new experimental settings in GUI

* Change PS4 to neo in the GUI, add note on Neo instability
This commit is contained in:
rainmakerv2
2025-09-13 16:39:10 +08:00
committed by GitHub
parent 9cdb6b1097
commit fa543d3cc8
2 changed files with 23 additions and 7 deletions

View File

@@ -522,6 +522,11 @@ SettingsDialog::SettingsDialog(std::shared_ptr<gui_settings> gui_settings,
ui->readbacksCheckBox->installEventFilter(this);
ui->readbackLinearImagesCheckBox->installEventFilter(this);
ui->dumpShadersCheckBox->installEventFilter(this);
ui->dmaCheckBox->installEventFilter(this);
ui->devkitCheckBox->installEventFilter(this);
ui->neoCheckBox->installEventFilter(this);
ui->networkConnectedCheckBox->installEventFilter(this);
ui->psnSignInCheckBox->installEventFilter(this);
}
}
@@ -943,7 +948,18 @@ void SettingsDialog::updateNoteTextEdit(const QString& elementName) {
} else if (elementName == "gameSizeCheckBox") {
text = tr("Show Game Size In List:\\nThere is the size of the game in the list.");
} else if (elementName == "motionControlsCheckBox") {
text = tr("Enable Motion Controls:\\nWhen enabled it will use the controller's motion control if supported."); }
text = tr("Enable Motion Controls:\\nWhen enabled it will use the controller's motion control if supported.");
} else if (elementName == "dmaCheckBox") {
text = tr("Enable Direct Memory Access:\\nEnables arbitrary memory access from the GPU to CPU memory.");
} else if (elementName == "neoCheckBox") {
text = tr("Enable PS4 Neo Mode:\\nAdds support for PS4 Pro emulation and memory size. Currently causes instability in a large number of tested games.");
} else if (elementName == "devkitCheckBox") {
text = tr("Enable Devkit Console Mode:\\nAdds support for Devkit console memory size.");
} else if (elementName == "networkConnectedCheckBox") {
text = tr("Set Network Connected to True:\\nForces games to detect an active network connection. Actual online capabilities are not yet supported.");
} else if (elementName == "psnSignInCheckBox") {
text = tr("Set PSN Signed-in to True:\\nForces games to detect an active PSN sign-in. Actual PSN capabilities are not supported.");
}
// clang-format on
ui->descriptionText->setText(text.replace("\\n", "\n"));
}

View File

@@ -452,7 +452,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>402</width>
<width>400</width>
<height>68</height>
</rect>
</property>
@@ -2088,8 +2088,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>944</width>
<height>274</height>
<width>946</width>
<height>299</height>
</rect>
</property>
<property name="sizePolicy">
@@ -2234,8 +2234,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>946</width>
<height>495</height>
<width>932</width>
<height>507</height>
</rect>
</property>
<property name="sizePolicy">
@@ -2433,7 +2433,7 @@
<item>
<widget class="QCheckBox" name="neoCheckBox">
<property name="text">
<string>Enable PS4 Pro Mode</string>
<string>Enable PS4 Neo Mode</string>
</property>
</widget>
</item>