mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-02-16 19:05:39 +00:00
StateWrapper: Fix FIFO corruption on loading
This commit is contained in:
parent
c32dc917ff
commit
e11d98e5e0
|
@ -145,6 +145,7 @@ public:
|
|||
{
|
||||
T* temp = new T[size];
|
||||
DoArray(temp, size);
|
||||
data->Clear();
|
||||
data->PushRange(temp, size);
|
||||
delete[] temp;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue