moar progress on it

This commit is contained in:
StapleButter
2018-09-15 03:29:36 +02:00
parent 0bfd019dc0
commit 60f24a7432
4 changed files with 64 additions and 1 deletions

View File

@ -47,6 +47,16 @@ public:
}
void Savestate(Savestate* file)
{
file->Var32(&NumOccupied);
file->Var32(&ReadPos);
file->Var32(&WritePos);
file->VarArray(Entries, sizeof(T)*NumEntries);
}
void Write(T val)
{
if (IsFull()) return;