mirror of
https://vps.suchmeme.nl/git/mudkip/Lockpick_RCM.git
synced 2024-11-22 07:59:16 +01:00
nx_emmc: Fix nested loop with same variable
This commit is contained in:
parent
a5bb071927
commit
5f100fef8a
@ -37,8 +37,8 @@ void nx_emmc_gpt_parse(link_t *gpt, sdmmc_storage_t *storage)
|
|||||||
part->attrs = ent->attrs;
|
part->attrs = ent->attrs;
|
||||||
|
|
||||||
//HACK
|
//HACK
|
||||||
for (u32 i = 0; i < 36; i++)
|
for (u32 j = 0; j < 36; j++)
|
||||||
part->name[i] = ent->name[i];
|
part->name[j] = ent->name[j];
|
||||||
part->name[36] = 0;
|
part->name[36] = 0;
|
||||||
|
|
||||||
list_append(gpt, &part->link);
|
list_append(gpt, &part->link);
|
||||||
|
Loading…
Reference in New Issue
Block a user