mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 07:39:17 +00:00
Merge pull request #1 from Nitch2024/AssemblerImprovement
Fixing lint and reported CI errors
This commit is contained in:
commit
dd25b79c2c
2 changed files with 6 additions and 8 deletions
|
@ -1060,10 +1060,7 @@ void CodeViewWidget::DoPatchInstruction(bool assemble)
|
||||||
|
|
||||||
if (assemble)
|
if (assemble)
|
||||||
{
|
{
|
||||||
std::string code_line = [this, addr] {
|
std::string code_line = m_system.GetPowerPC().GetDebugInterface().Disassemble(&guard, addr);
|
||||||
Core::CPUThreadGuard guard(m_system);
|
|
||||||
return m_system.GetPowerPC().GetDebugInterface().Disassemble(&guard, addr);
|
|
||||||
}();
|
|
||||||
|
|
||||||
std::ranges::replace(code_line, '\t', ' ' );
|
std::ranges::replace(code_line, '\t', ' ' );
|
||||||
|
|
||||||
|
|
|
@ -383,7 +383,8 @@ void MemoryWidget::ConnectWidgets()
|
||||||
connect(m_memory_view, &MemoryViewWidget::ShowCode, this, &MemoryWidget::ShowCode);
|
connect(m_memory_view, &MemoryViewWidget::ShowCode, this, &MemoryWidget::ShowCode);
|
||||||
connect(m_memory_view, &MemoryViewWidget::RequestWatch, this, &MemoryWidget::RequestWatch);
|
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*)
|
void MemoryWidget::closeEvent(QCloseEvent*)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue