Fix mismatched new/delete operators (master)

This commit is contained in:
Flyinghead 2018-10-28 15:42:26 +01:00
parent e4055f3192
commit a88bed1690
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ bool naomi_cart_LoadRom(char* file)
if (RomCacheMap)
{
RomCacheMapCount = 0;
delete RomCacheMap;
delete[] RomCacheMap;
}
RomCacheMapCount = (u32)files.size();