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:
@@ -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