Qt: Add disable all enhancements to debug menu
This commit is contained in:
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",
|
addBooleanTweakOption(m_host_interface, m_ui.tweakOptionTable, tr("Increase Timer Resolution"), "Main",
|
||||||
"IncreaseTimerResolution", true);
|
"IncreaseTimerResolution", true);
|
||||||
|
|
||||||
dialog->registerWidgetHelp(
|
dialog->registerWidgetHelp(m_ui.logLevel, tr("Log Level"), tr("Information"),
|
||||||
m_ui.logLevel, tr("Log Level"), tr("Information"),
|
|
||||||
tr("Sets the verbosity of messages logged. Higher levels will log more messages."));
|
tr("Sets the verbosity of messages logged. Higher levels will log more messages."));
|
||||||
dialog->registerWidgetHelp(
|
dialog->registerWidgetHelp(m_ui.logToConsole, tr("Log To System Console"), tr("User Preference"),
|
||||||
m_ui.logToConsole, tr("Log To System Console"), tr("User Preference"),
|
|
||||||
tr("Logs messages to the console window."));
|
tr("Logs messages to the console window."));
|
||||||
dialog->registerWidgetHelp(
|
dialog->registerWidgetHelp(m_ui.logToDebug, tr("Log To Debug Console"), tr("User Preference"),
|
||||||
m_ui.logToDebug, tr("Log To Debug Console"), tr("User Preference"),
|
|
||||||
tr("Logs messages to the debug console where supported."));
|
tr("Logs messages to the debug console where supported."));
|
||||||
dialog->registerWidgetHelp(
|
dialog->registerWidgetHelp(m_ui.logToWindow, tr("Log To Window"), tr("User Preference"),
|
||||||
m_ui.logToWindow, tr("Log To Window"), tr("User Preference"),
|
|
||||||
tr("Logs messages to the window."));
|
tr("Logs messages to the window."));
|
||||||
dialog->registerWidgetHelp(
|
dialog->registerWidgetHelp(m_ui.logToFile, tr("Log To File"), tr("User Preference"),
|
||||||
m_ui.logToFile, tr("Log To File"), tr("User Preference"),
|
|
||||||
tr("Logs messages to duckstation.log in the user directory."));
|
tr("Logs messages to duckstation.log in the user directory."));
|
||||||
dialog->registerWidgetHelp(
|
dialog->registerWidgetHelp(m_ui.showDebugMenu, tr("Show Debug Menu"), tr("Unchecked"),
|
||||||
m_ui.showDebugMenu, tr("Show Debug Menu"), tr("Unchecked"),
|
|
||||||
tr("Shows a debug menu bar with additional statistics and quick settings."));
|
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);
|
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",
|
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.actionDisableInterlacing, "GPU",
|
||||||
"DisableInterlacing");
|
"DisableInterlacing");
|
||||||
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.actionForceNTSCTimings, "GPU",
|
SettingWidgetBinder::BindWidgetToBoolSetting(m_host_interface, m_ui.actionForceNTSCTimings, "GPU",
|
||||||
|
|
|
@ -172,6 +172,7 @@
|
||||||
<addaction name="menuCPUExecutionMode"/>
|
<addaction name="menuCPUExecutionMode"/>
|
||||||
<addaction name="menuRenderer"/>
|
<addaction name="menuRenderer"/>
|
||||||
<addaction name="menuCropMode"/>
|
<addaction name="menuCropMode"/>
|
||||||
|
<addaction name="actionDisableAllEnhancements"/>
|
||||||
<addaction name="actionDisableInterlacing"/>
|
<addaction name="actionDisableInterlacing"/>
|
||||||
<addaction name="actionForceNTSCTimings"/>
|
<addaction name="actionForceNTSCTimings"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
|
@ -595,6 +596,14 @@
|
||||||
<string>Dump VRAM to CPU Copies</string>
|
<string>Dump VRAM to CPU Copies</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionDisableAllEnhancements">
|
||||||
|
<property name="checkable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Disable All Enhancements</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
<action name="actionDisableInterlacing">
|
<action name="actionDisableInterlacing">
|
||||||
<property name="checkable">
|
<property name="checkable">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
|
Loading…
Reference in New Issue