summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VideoState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/VideoState.cpp')
-rw-r--r--Source/Core/VideoCommon/VideoState.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VideoState.cpp b/Source/Core/VideoCommon/VideoState.cpp
index c348649da5..538c3d0904 100644
--- a/Source/Core/VideoCommon/VideoState.cpp
+++ b/Source/Core/VideoCommon/VideoState.cpp
@@ -27,10 +27,10 @@ void VideoCommon_DoState(PointerWrap& p)
bool software = false;
p.Do(software);
- if (p.GetMode() == PointerWrap::MODE_READ && software == true)
+ if (p.IsReadMode() && software == true)
{
// change mode to abort load of incompatible save state.
- p.SetMode(PointerWrap::MODE_VERIFY);
+ p.SetVerifyMode();
}
// BP Memory
@@ -86,7 +86,7 @@ void VideoCommon_DoState(PointerWrap& p)
p.DoMarker("Renderer");
// Refresh state.
- if (p.GetMode() == PointerWrap::MODE_READ)
+ if (p.IsReadMode())
{
// Inform backend of new state from registers.
BPReload();