mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
VideoCommon: move xf state management to its own class, so changes can be detected in places other than VertexShaderManager
This commit is contained in:
@ -27,6 +27,7 @@
|
||||
#include "VideoCommon/VertexShaderManager.h"
|
||||
#include "VideoCommon/Widescreen.h"
|
||||
#include "VideoCommon/XFMemory.h"
|
||||
#include "VideoCommon/XFStateManager.h"
|
||||
|
||||
void VideoCommon_DoState(PointerWrap& p)
|
||||
{
|
||||
@ -105,6 +106,9 @@ void VideoCommon_DoState(PointerWrap& p)
|
||||
g_widescreen->DoState(p);
|
||||
p.DoMarker("Widescreen");
|
||||
|
||||
system.GetXFStateManager().DoState(p);
|
||||
p.DoMarker("XFStateManager");
|
||||
|
||||
// Refresh state.
|
||||
if (p.IsReadMode())
|
||||
{
|
||||
|
Reference in New Issue
Block a user