summaryrefslogtreecommitdiff
path: root/Source/Core/Core/PowerPC/PowerPC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Core/PowerPC/PowerPC.cpp')
-rw-r--r--Source/Core/Core/PowerPC/PowerPC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/PowerPC/PowerPC.cpp b/Source/Core/Core/PowerPC/PowerPC.cpp
index e45706f199..aa6f7fbe11 100644
--- a/Source/Core/Core/PowerPC/PowerPC.cpp
+++ b/Source/Core/Core/PowerPC/PowerPC.cpp
@@ -100,7 +100,7 @@ std::ostream& operator<<(std::ostream& os, CPUCore core)
void DoState(PointerWrap& p)
{
// some of this code has been disabled, because
- // it changes registers even in MODE_MEASURE (which is suspicious and seems like it could cause
+ // it changes registers even in Mode::Measure (which is suspicious and seems like it could cause
// desyncs)
// and because the values it's changing have been added to CoreTiming::DoState, so it might
// conflict to mess with them here.
@@ -132,7 +132,7 @@ void DoState(PointerWrap& p)
ppcState.iCache.DoState(p);
- if (p.GetMode() == PointerWrap::MODE_READ)
+ if (p.IsReadMode())
{
RoundingModeUpdated();
IBATUpdated();