Merge pull request #1 from Nitch2024/AssemblerImprovement

Fixing lint and reported CI errors
This commit is contained in:
NoName 2025-03-26 13:25:59 -07:00 committed by GitHub
commit dd25b79c2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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*)