Fix some memory leaks (jdgleaver) (#1009)

This commit is contained in:
saulfabreg Wii VC Project 2022-06-02 13:29:07 -05:00 committed by GitHub
parent 89ca03d4d5
commit 6ec35dab7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1032,7 +1032,7 @@ void CMemory::Deinit (void)
ROM = NULL; ROM = NULL;
} }
for (int t = 0; t < 7; t++) for (int t = 0; t <= TILE_8BIT; t++)
{ {
if (IPPU.TileCache[t]) if (IPPU.TileCache[t])
{ {