mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Common: Refactor PointerWrap
This commit is contained in:
@@ -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<BBoxType> backend_values(NUM_BBOX_VALUES);
|
||||
if (p.GetMode() == PointerWrap::MODE_READ)
|
||||
if (p.IsReadMode())
|
||||
{
|
||||
p.Do(backend_values);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user