mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
Qt/Debugger: Implement "Registers" window
This commit is contained in:
@ -210,3 +210,18 @@ bool Settings::IsDebugModeEnabled() const
|
||||
{
|
||||
return SConfig::GetInstance().bEnableDebugging;
|
||||
}
|
||||
|
||||
void Settings::SetRegistersVisible(bool enabled)
|
||||
{
|
||||
if (IsRegistersVisible() != enabled)
|
||||
{
|
||||
QSettings().setValue(QStringLiteral("debugger/showregisters"), enabled);
|
||||
|
||||
emit RegistersVisibilityChanged(enabled);
|
||||
}
|
||||
}
|
||||
|
||||
bool Settings::IsRegistersVisible() const
|
||||
{
|
||||
return QSettings().value(QStringLiteral("debugger/showregisters")).toBool();
|
||||
}
|
||||
|
Reference in New Issue
Block a user