mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-06 19:45:33 +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];
|
T* temp = new T[size];
|
||||||
DoArray(temp, size);
|
DoArray(temp, size);
|
||||||
|
data->Clear();
|
||||||
data->PushRange(temp, size);
|
data->PushRange(temp, size);
|
||||||
delete[] temp;
|
delete[] temp;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user