mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 13:42:47 +00:00
System info: workaround for uninitialised movable.sed
This commit is contained in:
parent
2f739ab130
commit
37cdb26f91
@ -273,7 +273,7 @@ void GetSysInfo_Movable(SysInfo* info, char nand_drive) {
|
|||||||
strncpy(info->movablekeyy, "<unknown>", countof(info->movablekeyy));
|
strncpy(info->movablekeyy, "<unknown>", countof(info->movablekeyy));
|
||||||
strncpy(info->nand_id0, "<unknown>", countof(info->nand_id0));
|
strncpy(info->nand_id0, "<unknown>", 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;
|
return;
|
||||||
|
|
||||||
// The LocalFriendCodeSeed.
|
// The LocalFriendCodeSeed.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user