From 37cdb26f91c78857364e7e1dc8145499509b58e2 Mon Sep 17 00:00:00 2001 From: d0k3 Date: Mon, 26 Feb 2018 22:50:40 +0100 Subject: [PATCH] System info: workaround for uninitialised movable.sed --- arm9/source/utils/sysinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arm9/source/utils/sysinfo.c b/arm9/source/utils/sysinfo.c index 8512044..346cf12 100644 --- a/arm9/source/utils/sysinfo.c +++ b/arm9/source/utils/sysinfo.c @@ -273,7 +273,7 @@ void GetSysInfo_Movable(SysInfo* info, char nand_drive) { strncpy(info->movablekeyy, "", countof(info->movablekeyy)); strncpy(info->nand_id0, "", countof(info->nand_id0)); - if (fvx_qread(path, &data, 0, sizeof(data), NULL) != FR_OK) + if (fvx_qread(path, &data, 0, 0x120 /* sizeof(data) */, NULL) != FR_OK) // whatever, we don't need the last 0x20 byte here return; // The LocalFriendCodeSeed.