psx - fix oopsies in shock_destroy

This commit is contained in:
zeromus 2021-04-27 14:56:41 -04:00
parent e443e8440c
commit f7fb2ad76f
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -1438,10 +1438,10 @@ EW_EXPORT s32 shock_Destroy(void* psx)
for(int i=0;i<2;i++)
{
delete VTBuffer[i];
VTLineWidths[i] = nullptr;
free(VTLineWidths[i]);
VTBuffer[i] = nullptr;
free(VTLineWidths[i]);
VTLineWidths[i] = nullptr;
}
TextMem.resize(0);