mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 17:32:30 +00:00
INI: Create a new INI setting for toggling the debugger UI
Qt introduced a checkbox to toggle the debugger UI, this makes it work into a setting stored in the INI, it also makes the -d argument only in effect when enabled, in such case, it will override the INI by overriding it.
This commit is contained in:
parent
a5e410b7c9
commit
fee92cd4fc
2 changed files with 4 additions and 1 deletions
|
@ -175,6 +175,7 @@ void SConfig::SaveInterfaceSettings(IniFile& ini)
|
|||
interface->Set("ThemeName", theme_name);
|
||||
interface->Set("PauseOnFocusLost", m_PauseOnFocusLost);
|
||||
interface->Set("DisableTooltips", m_DisableTooltips);
|
||||
interface->Set("DebugModeEnabled", bEnableDebugging);
|
||||
}
|
||||
|
||||
void SConfig::SaveDisplaySettings(IniFile& ini)
|
||||
|
@ -461,6 +462,7 @@ void SConfig::LoadInterfaceSettings(IniFile& ini)
|
|||
interface->Get("ThemeName", &theme_name, DEFAULT_THEME_DIR);
|
||||
interface->Get("PauseOnFocusLost", &m_PauseOnFocusLost, false);
|
||||
interface->Get("DisableTooltips", &m_DisableTooltips, false);
|
||||
interface->Get("DebugModeEnabled", &bEnableDebugging, false);
|
||||
}
|
||||
|
||||
void SConfig::LoadDisplaySettings(IniFile& ini)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue