Skip to content

Commit

Permalink
linted MenuBar.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
aminoa committed Jan 22, 2025
1 parent c07c983 commit 3a46b58
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Source/Core/DolphinQt/MenuBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,7 @@ void MenuBar::ClearSymbols()
return;

Core::System::GetInstance().GetPPCSymbolDB().Clear();
emit Host::GetInstance()->PPCSymbolsChanged();
emit Host::GetInstance() -> PPCSymbolsChanged();
}

void MenuBar::GenerateSymbolsFromAddress()
Expand All @@ -1338,7 +1338,7 @@ void MenuBar::GenerateSymbolsFromAddress()

PPCAnalyst::FindFunctions(guard, Memory::MEM1_BASE_ADDR,
Memory::MEM1_BASE_ADDR + memory.GetRamSizeReal(), &ppc_symbol_db);
emit Host::GetInstance()->PPCSymbolsChanged();
emit Host::GetInstance() -> PPCSymbolsChanged();
}

void MenuBar::GenerateSymbolsFromSignatureDB()
Expand Down Expand Up @@ -1367,7 +1367,7 @@ void MenuBar::GenerateSymbolsFromSignatureDB()
tr("'%1' not found, no symbol names generated").arg(QString::fromStdString(TOTALDB)));
}

emit Host::GetInstance()->PPCSymbolsChanged();
emit Host::GetInstance() -> PPCSymbolsChanged();
}

void MenuBar::GenerateSymbolsFromRSO()
Expand Down Expand Up @@ -1397,7 +1397,7 @@ void MenuBar::GenerateSymbolsFromRSO()
if (rso_chain.Load(guard, static_cast<u32>(address)))
{
rso_chain.Apply(guard, &system.GetPPCSymbolDB());
emit Host::GetInstance()->PPCSymbolsChanged();
emit Host::GetInstance() -> PPCSymbolsChanged();
}
else
{
Expand Down Expand Up @@ -1454,7 +1454,7 @@ void MenuBar::GenerateSymbolsFromRSOAuto()
if (rso_chain.Load(guard, address))
{
rso_chain.Apply(guard, &system.GetPPCSymbolDB());
emit Host::GetInstance()->PPCSymbolsChanged();
emit Host::GetInstance() -> PPCSymbolsChanged();
}
else
{
Expand Down Expand Up @@ -1604,7 +1604,7 @@ void MenuBar::LoadSymbolMap()
}

HLE::PatchFunctions(system);
emit Host::GetInstance()->PPCSymbolsChanged();
emit Host::GetInstance() -> PPCSymbolsChanged();
}

void MenuBar::SaveSymbolMap()
Expand All @@ -1629,7 +1629,7 @@ void MenuBar::LoadOtherSymbolMap()

auto& system = Core::System::GetInstance();
HLE::PatchFunctions(system);
emit Host::GetInstance()->PPCSymbolsChanged();
emit Host::GetInstance() -> PPCSymbolsChanged();
}

void MenuBar::LoadBadSymbolMap()
Expand All @@ -1646,7 +1646,7 @@ void MenuBar::LoadBadSymbolMap()

auto& system = Core::System::GetInstance();
HLE::PatchFunctions(system);
emit Host::GetInstance()->PPCSymbolsChanged();
emit Host::GetInstance() -> PPCSymbolsChanged();
}

void MenuBar::SaveSymbolMapAs()
Expand Down Expand Up @@ -1771,7 +1771,7 @@ void MenuBar::ApplySignatureFile()
db.Apply(Core::CPUThreadGuard{system}, &system.GetPPCSymbolDB());
db.List();
HLE::PatchFunctions(system);
emit Host::GetInstance()->PPCSymbolsChanged();
emit Host::GetInstance() -> PPCSymbolsChanged();
}

void MenuBar::CombineSignatureFiles()
Expand Down

0 comments on commit 3a46b58

Please sign in to comment.