aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2018-10-08 00:16:23 +0100
committerD G Turner2018-10-08 00:16:23 +0100
commitf7b349ae660f7770e490a6690d9750334d33e619 (patch)
treee9f3d85e2d48c9ad039c75d0000c2e442bf45cf3
parent709f496a75589ce0a89832d6170947098c8d8ea1 (diff)
downloadscummvm-rg350-f7b349ae660f7770e490a6690d9750334d33e619.tar.gz
scummvm-rg350-f7b349ae660f7770e490a6690d9750334d33e619.tar.bz2
scummvm-rg350-f7b349ae660f7770e490a6690d9750334d33e619.zip
DS: Fix Compilation.
-rw-r--r--backends/platform/ds/arm9/source/fat/gba_nds_fat.c2
1 files changed, 1 insertions, 1 deletions
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] = ' ';
}