From 0371b74ebf48ca4eafdb4a15731d61978341b647 Mon Sep 17 00:00:00 2001 From: mitaclaw <140017135+mitaclaw@users.noreply.github.com> Date: Thu, 24 Oct 2024 18:01:05 -0700 Subject: [PATCH] JitBlockTableModel: Update For Symbols Too Flushing efficiency down the drain because I wrote unsafe code to achieve it... I hope I can recover this. --- Source/Core/DolphinQt/Debugger/JitBlockTableModel.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Debugger/JitBlockTableModel.cpp b/Source/Core/DolphinQt/Debugger/JitBlockTableModel.cpp index cc784ca144..b9a003779f 100644 --- a/Source/Core/DolphinQt/Debugger/JitBlockTableModel.cpp +++ b/Source/Core/DolphinQt/Debugger/JitBlockTableModel.cpp @@ -187,7 +187,9 @@ void JitBlockTableModel::OnUpdateDisasmDialog() void JitBlockTableModel::OnPPCSymbolsUpdated() { - UpdateSymbols(); + // Previously, this was only a call to `UpdateSymbols`, but HLE patch engine code can + // invalidate JIT blocks when specific symbols are loaded. What can be done about it? + Update(Core::GetState(m_system)); } void JitBlockTableModel::OnPPCBreakpointsChanged()