mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
fixed some graphics problems with loading savestates (for example, wrong colors on title screen of metroid prime 3)
This commit is contained in:
@ -24,6 +24,8 @@
|
||||
#include "Fifo.h"
|
||||
#include "CommandProcessor.h"
|
||||
#include "PixelEngine.h"
|
||||
#include "PixelShaderManager.h"
|
||||
#include "VertexShaderManager.h"
|
||||
|
||||
static void DoState(PointerWrap &p)
|
||||
{
|
||||
@ -48,12 +50,17 @@ static void DoState(PointerWrap &p)
|
||||
|
||||
CommandProcessor::DoState(p);
|
||||
PixelEngine::DoState(p);
|
||||
|
||||
// the old way of replaying current bpmem as writes to push side effects to pixel shader manager doesn't really work.
|
||||
PixelShaderManager::DoState(p);
|
||||
VertexShaderManager::DoState(p);
|
||||
|
||||
// TODO: search for more data that should be saved and add it here
|
||||
}
|
||||
|
||||
void VideoCommon_DoState(PointerWrap &p)
|
||||
{
|
||||
DoState(p);
|
||||
//TODO: search for more data that should be saved and add it here
|
||||
}
|
||||
|
||||
void VideoCommon_RunLoop(bool enable)
|
||||
|
Reference in New Issue
Block a user