mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-13 15:03:01 -06:00
Common: Refactor PointerWrap
This commit is contained in:
@ -519,7 +519,7 @@ void VertexManagerBase::Flush()
|
||||
|
||||
void VertexManagerBase::DoState(PointerWrap& p)
|
||||
{
|
||||
if (p.GetMode() == PointerWrap::MODE_READ)
|
||||
if (p.IsReadMode())
|
||||
{
|
||||
// Flush old vertex data before loading state.
|
||||
Flush();
|
||||
|
Reference in New Issue
Block a user