mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
Add basic state for the memory kernel objects.
Not the actual memory partitions quite yet.
This commit is contained in:
@@ -297,3 +297,13 @@ u32 BlockAllocator::GetTotalFreeBytes()
|
||||
}
|
||||
return sum;
|
||||
}
|
||||
|
||||
void BlockAllocator::DoState(PointerWrap &p)
|
||||
{
|
||||
Block default_value(0, 0, false);
|
||||
p.Do(blocks, default_value);
|
||||
p.Do(rangeStart_);
|
||||
p.Do(rangeSize_);
|
||||
p.Do(grain_);
|
||||
p.DoMarker("BlockAllocator");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user