From f6b9acccfc66794cfc718355e777aa34914e881c Mon Sep 17 00:00:00 2001 From: Dentomologist Date: Tue, 17 May 2022 22:29:05 -0700 Subject: Common: Refactor PointerWrap --- Source/Core/VideoCommon/BoundingBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/BoundingBox.cpp') diff --git a/Source/Core/VideoCommon/BoundingBox.cpp b/Source/Core/VideoCommon/BoundingBox.cpp index 33cffef469..f5ecc8478b 100644 --- a/Source/Core/VideoCommon/BoundingBox.cpp +++ b/Source/Core/VideoCommon/BoundingBox.cpp @@ -104,7 +104,7 @@ void BoundingBox::DoState(PointerWrap& p) // We handle saving the backend values specially rather than using Readback() and Flush() so that // we don't mess up the current cache state std::vector backend_values(NUM_BBOX_VALUES); - if (p.GetMode() == PointerWrap::MODE_READ) + if (p.IsReadMode()) { p.Do(backend_values); -- cgit v1.2.3