From f7b349ae660f7770e490a6690d9750334d33e619 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 8 Oct 2018 00:16:23 +0100 Subject: DS: Fix Compilation. --- backends/platform/ds/arm9/source/fat/gba_nds_fat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/platform/ds/arm9/source/fat/gba_nds_fat.c b/backends/platform/ds/arm9/source/fat/gba_nds_fat.c index 1247b3f948..ddae087c94 100644 --- a/backends/platform/ds/arm9/source/fat/gba_nds_fat.c +++ b/backends/platform/ds/arm9/source/fat/gba_nds_fat.c @@ -3186,7 +3186,7 @@ int FAT_mkdir (const char* path) // Create . directory entry dirEntry.name[0] = '.'; // Fill name and extension with spaces - for (i = 1; i < (sizeof(name)/sizeof(name[0])); i++) + for (i = 1; i < (sizeof(dirEntry.name)/sizeof(dirEntry.name[0])); i++) { dirEntry.name[i] = ' '; } -- cgit v1.2.3