mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-05 07:39:17 +00:00
Fixing lint and reported CI errors
This commit is contained in:
parent
086c323561
commit
267e6608d3
2 changed files with 6 additions and 8 deletions
|
@ -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', ' ' );
|
||||
|
||||
|
|
|
@ -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*)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue