Parser and Assembler implementations

This commit is contained in:
vyuuui
2022-12-18 00:43:28 -08:00
parent 88cd618b4d
commit 38c15df464
36 changed files with 7522 additions and 11 deletions

View File

@ -693,6 +693,20 @@ bool Settings::IsJITVisible() const
return QSettings().value(QStringLiteral("debugger/showjit")).toBool();
}
void Settings::SetAssemblerVisible(bool enabled)
{
if (IsAssemblerVisible() == enabled)
return;
QSettings().setValue(QStringLiteral("debugger/showassembler"), enabled);
emit AssemblerVisibilityChanged(enabled);
}
bool Settings::IsAssemblerVisible() const
{
return QSettings().value(QStringLiteral("debugger/showassembler")).toBool();
}
void Settings::RefreshWidgetVisibility()
{
emit DebugModeToggled(IsDebugModeEnabled());