Changed the save state system to load/save only after the screen has been drawn. This should help stabilise the save states.

This commit is contained in:
skidau
2011-10-15 22:19:42 +11:00
parent da9bd95a68
commit 5d14bb5e70
5 changed files with 110 additions and 16 deletions

View File

@ -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);
}
}