mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 23:08:47 +00:00
Common: Refactor PointerWrap
This commit is contained in:
parent
7fcc866c41
commit
f6b9acccfc
38 changed files with 108 additions and 106 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue