diff options
| author | skidau <skidau@gmail.com> | 2011-10-15 22:19:42 +1100 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2011-10-15 22:19:42 +1100 |
| commit | 5d14bb5e70dd1122c36e68ee529fcda8db67243e (patch) | |
| tree | 4812d20e0e21aa1a1bc6469da5a27068858faa8a /Source/Core/VideoCommon | |
| parent | da9bd95a683187966c5225cfcb9f6ea3e19b9b05 (diff) | |
Changed the save state system to load/save only after the screen has been drawn. This should help stabilise the save states.
Diffstat (limited to 'Source/Core/VideoCommon')
| -rw-r--r-- | Source/Core/VideoCommon/Src/PixelEngine.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/PixelEngine.cpp b/Source/Core/VideoCommon/Src/PixelEngine.cpp index 2a328de95d..3b6d1b7487 100644 --- a/Source/Core/VideoCommon/Src/PixelEngine.cpp +++ b/Source/Core/VideoCommon/Src/PixelEngine.cpp @@ -31,6 +31,7 @@ #include "CommandProcessor.h" #include "HW/ProcessorInterface.h" #include "DLCache.h" +#include "State.h" namespace PixelEngine { @@ -329,6 +330,8 @@ void UpdateFinishInterrupt(bool active) { ProcessorInterface::SetInterrupt(INT_CAUSE_PE_FINISH, active); interruptSetFinish = active; + if (active) + State::ProcessRequestedStates(0); } } |
