Debugger: Fix 'run-to-cursor' context action

This commit is contained in:
Ty Lamontagne 2023-07-26 19:51:06 -04:00 committed by refractionpcsx2
parent 9ce2ae613b
commit 0d42b81285
1 changed files with 4 additions and 3 deletions

View File

@ -151,9 +151,10 @@ void DisassemblyWidget::contextNoopInstruction()
void DisassemblyWidget::contextRunToCursor()
{
Host::RunOnCPUThread([&] { CBreakPoints::AddBreakPoint(m_cpu->getCpuType(), m_selectedAddressStart); });
m_cpu->resumeCpu();
Host::RunOnCPUThread([&] {
CBreakPoints::AddBreakPoint(m_cpu->getCpuType(), m_selectedAddressStart, true);
m_cpu->resumeCpu();
});
}
void DisassemblyWidget::contextJumpToCursor()