StateWrapper: Fix FIFO corruption on loading

This commit is contained in:
Connor McLaughlin 2019-09-28 16:21:09 +10:00
parent c32dc917ff
commit e11d98e5e0
1 changed files with 1 additions and 0 deletions

View File

@ -145,6 +145,7 @@ public:
{
T* temp = new T[size];
DoArray(temp, size);
data->Clear();
data->PushRange(temp, size);
delete[] temp;
}