Qt: Add disable all enhancements to debug menu

pull/1592/head
Connor McLaughlin 4 years ago
parent a77edc6436
commit cc0cc6fbb9

@ -196,23 +196,17 @@ AdvancedSettingsWidget::AdvancedSettingsWidget(QtHostInterface* host_interface,
addBooleanTweakOption(m_host_interface, m_ui.tweakOptionTable, tr("Increase Timer Resolution"), "Main",
"IncreaseTimerResolution", true);
dialog->registerWidgetHelp(
m_ui.logLevel, tr("Log Level"), tr("Information"),
dialog->registerWidgetHelp(m_ui.logLevel, tr("Log Level"), tr("Information"),
tr("Sets the verbosity of messages logged. Higher levels will log more messages."));
dialog->registerWidgetHelp(
m_ui.logToConsole, tr("Log To System Console"), tr("User Preference"),
dialog->registerWidgetHelp(m_ui.logToConsole, tr("Log To System Console"), tr("User Preference"),
tr("Logs messages to the console window."));
dialog->registerWidgetHelp(
m_ui.logToDebug, tr("Log To Debug Console"), tr("User Preference"),
dialog->registerWidgetHelp(m_ui.logToDebug, tr("Log To Debug Console"), tr("User Preference"),
tr("Logs messages to the debug console where supported."));
dialog->registerWidgetHelp(
m_ui.logToWindow, tr("Log To Window"), tr("User Preference"),
dialog->registerWidgetHelp(m_ui.logToWindow, tr("Log To Window"), tr("User Preference"),
tr("Logs messages to the window."));
dialog->registerWidgetHelp(
m_ui.logToFile, tr("Log To File"), tr("User Preference"),
dialog->registerWidgetHelp(m_ui.logToFile, tr("Log To File"), tr("User Preference"),
tr("Logs messages to duckstation.log in the user directory."));
dialog->registerWidgetHelp(
m_ui.showDebugMenu, tr("Show Debug Menu"), tr("Unchecked"),
dialog->registerWidgetHelp(m_ui.showDebugMenu, tr("Show Debug Menu"), tr("Unchecked"),
tr("Shows a debug menu bar with additional statistics and quick settings."));
}

@ -1050,6 +1050,8 @@ void MainWindow::connectSignals()
m_host_interface->populateSaveStateMenus(nullptr, m_ui.menuLoadState, m_ui.menuSaveState);
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.actionDisableAllEnhancements, "Main",
"DisableAllEnhancements");
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.actionDisableInterlacing, "GPU",
"DisableInterlacing");
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.actionForceNTSCTimings, "GPU",

@ -172,6 +172,7 @@
<addaction name="menuCPUExecutionMode"/>
<addaction name="menuRenderer"/>
<addaction name="menuCropMode"/>
<addaction name="actionDisableAllEnhancements"/>
<addaction name="actionDisableInterlacing"/>
<addaction name="actionForceNTSCTimings"/>
<addaction name="separator"/>
@ -595,6 +596,14 @@
<string>Dump VRAM to CPU Copies</string>
</property>
</action>
<action name="actionDisableAllEnhancements">
<property name="checkable">
<bool>true</bool>
</property>
<property name="text">
<string>Disable All Enhancements</string>
</property>
</action>
<action name="actionDisableInterlacing">
<property name="checkable">
<bool>true</bool>

Loading…
Cancel
Save