mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-22 05:40:15 -06:00
moar progress on it
This commit is contained in:
10
src/FIFO.h
10
src/FIFO.h
@ -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;
|
||||
|
Reference in New Issue
Block a user