mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-31 11:55:37 +00:00
Qt: Add disable all enhancements to debug menu
This commit is contained in:
parent
a77edc6436
commit
cc0cc6fbb9
|
@ -195,25 +195,19 @@ 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"),
|
||||
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"),
|
||||
tr("Logs messages to the console window."));
|
||||
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"),
|
||||
tr("Logs messages to the window."));
|
||||
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"),
|
||||
tr("Shows a debug menu bar with additional statistics and quick settings."));
|
||||
|
||||
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"),
|
||||
tr("Logs messages to the console window."));
|
||||
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"),
|
||||
tr("Logs messages to the window."));
|
||||
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"),
|
||||
tr("Shows a debug menu bar with additional statistics and quick settings."));
|
||||
}
|
||||
|
||||
AdvancedSettingsWidget::~AdvancedSettingsWidget() = default;
|
||||
|
|
|
@ -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…
Reference in a new issue