Fixing lint and reported CI errors

This commit is contained in:
Nitch2024 2025-03-26 13:22:39 -07:00
commit 267e6608d3
2 changed files with 6 additions and 8 deletions

View file

@ -1060,10 +1060,7 @@ void CodeViewWidget::DoPatchInstruction(bool assemble)
if (assemble)
{
std::string code_line = [this, addr] {
Core::CPUThreadGuard guard(m_system);
return m_system.GetPowerPC().GetDebugInterface().Disassemble(&guard, addr);
}();
std::string code_line = m_system.GetPowerPC().GetDebugInterface().Disassemble(&guard, addr);
std::ranges::replace(code_line, '\t', ' ' );

View file

@ -383,7 +383,8 @@ void MemoryWidget::ConnectWidgets()
connect(m_memory_view, &MemoryViewWidget::ShowCode, this, &MemoryWidget::ShowCode);
connect(m_memory_view, &MemoryViewWidget::RequestWatch, this, &MemoryWidget::RequestWatch);
connect(m_memory_view, &MemoryViewWidget::ActivateSearch, this, &MemoryWidget::ActivateSearchAddress);
connect(m_memory_view, &MemoryViewWidget::ActivateSearch, this,
&MemoryWidget::ActivateSearchAddress);
}
void MemoryWidget::closeEvent(QCloseEvent*)