mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Qt/Debugger: Implement "Registers" window
This commit is contained in:
parent
2a19ccf806
commit
ec37ce093f
12 changed files with 633 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue