From 05692b1e7e88d19d6045cc42464cc8ef11760c62 Mon Sep 17 00:00:00 2001 From: skidau Date: Fri, 16 Mar 2012 20:08:05 +1100 Subject: Sped up to the Dolphin debugger by not checking for breakpoints when stepping. Fixed the JIT cache, invalidating one instruction length at a time. Fixed a bug where the JIT cache did not get invalidated when stepping. Disabled fused instructions in the debugger. --- Source/Core/DolphinWX/Src/Debugger/CodeWindow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Source/Core/DolphinWX/Src/Debugger/CodeWindow.cpp') diff --git a/Source/Core/DolphinWX/Src/Debugger/CodeWindow.cpp b/Source/Core/DolphinWX/Src/Debugger/CodeWindow.cpp index 37ff81772a..0b6b366c88 100644 --- a/Source/Core/DolphinWX/Src/Debugger/CodeWindow.cpp +++ b/Source/Core/DolphinWX/Src/Debugger/CodeWindow.cpp @@ -263,6 +263,8 @@ void CCodeWindow::SingleStep() { if (CCPU::IsStepping()) { + if (jit) + jit->GetBlockCache()->InvalidateICache(PC, 4); CCPU::StepOpcode(&sync_event); wxThread::Sleep(20); // need a short wait here -- cgit v1.2.3