From 09ea476892462ee7e1d2f1b74f00c03db2c6a6d6 Mon Sep 17 00:00:00 2001 From: thelemonman Date: Tue, 8 Oct 2013 15:14:55 +0000 Subject: [PATCH] Don't memset the structures as it invaludates the string pointers. --- desmume/src/utils/fsnitro.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/desmume/src/utils/fsnitro.cpp b/desmume/src/utils/fsnitro.cpp index 162e7a5b6..be2058d7a 100644 --- a/desmume/src/utils/fsnitro.cpp +++ b/desmume/src/utils/fsnitro.cpp @@ -149,9 +149,6 @@ bool FS_NITRO::loadFileTables() if (numOverlay7 && !ovr7) return false; if (numOverlay9 && !ovr9) return false; - memset(fnt, 0, sizeof(FNT_NITRO) * numDirs); - memset(fat, 0, sizeof(FAT_NITRO) * numFiles); - // ========= FAT (File Allocation Table) u32 *_FAT = (u32*)(rom + FATOff); for (u32 i = 0; i < numFiles; i++)