mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07: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