From 00c35451f607e479db47b25ddac50d0d18507a9d Mon Sep 17 00:00:00 2001 From: Rodolfo Osvaldo Bogado Date: Tue, 8 Feb 2011 12:00:41 +0000 Subject: second step in dlist optimizations: test the hashes only when the cpu could change the contents of the dlist, this is after it been processed, or at frame finish. this is marcos idea so the credits go to him. please test the broken games in my last commits to see if this solve all the issues. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7114 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/CommandProcessor.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/Src/CommandProcessor.cpp') diff --git a/Source/Core/VideoCommon/Src/CommandProcessor.cpp b/Source/Core/VideoCommon/Src/CommandProcessor.cpp index a45b63f989..d19192db38 100644 --- a/Source/Core/VideoCommon/Src/CommandProcessor.cpp +++ b/Source/Core/VideoCommon/Src/CommandProcessor.cpp @@ -83,6 +83,7 @@ #include "HW/ProcessorInterface.h" #include "HW/GPFifo.h" #include "HW/Memmap.h" +#include "DLCache.h" namespace CommandProcessor { @@ -826,6 +827,7 @@ void AbortFrame() PixelEngine::ResetSetToken(); PixelEngine::ResetSetFinish(); fifo.bFF_GPReadEnable = true; + IncrementCheckContextId(); } void SetOverflowStatusFromGatherPipe() @@ -858,8 +860,11 @@ void SetStatus() { if (!fifo.bFF_Breakpoint) + { INFO_LOG(COMMANDPROCESSOR, "Hit breakpoint at %i", fifo.CPReadPointer); - fifo.bFF_Breakpoint = true; + fifo.bFF_Breakpoint = true; + IncrementCheckContextId(); + } } else { -- cgit v1.2.3