mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Qt/Debugger: Implement "Memory" widget
This commit is contained in:
parent
5c83e18fbd
commit
95ae4b34d9
14 changed files with 1195 additions and 1 deletions
|
@ -303,6 +303,20 @@ bool Settings::IsCodeVisible() const
|
|||
return GetQSettings().value(QStringLiteral("debugger/showcode")).toBool();
|
||||
}
|
||||
|
||||
void Settings::SetMemoryVisible(bool enabled)
|
||||
{
|
||||
if (IsMemoryVisible() == enabled)
|
||||
return;
|
||||
QSettings().setValue(QStringLiteral("debugger/showmemory"), enabled);
|
||||
|
||||
emit MemoryVisibilityChanged(enabled);
|
||||
}
|
||||
|
||||
bool Settings::IsMemoryVisible() const
|
||||
{
|
||||
return QSettings().value(QStringLiteral("debugger/showmemory")).toBool();
|
||||
}
|
||||
|
||||
void Settings::SetDebugFont(QFont font)
|
||||
{
|
||||
if (GetDebugFont() != font)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue