mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02: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