Skip to content

Commit

Permalink
Fix memcmp u"nand" in fs.c
Browse files Browse the repository at this point in the history
  • Loading branch information
TuxSH committed May 20, 2017
1 parent b493e2b commit c73fec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ void loadPayload(u32 pressed, const char *payloadPath)

writeConfig(true);

if(memcmp(launchedPath, u"nand", 8))
if(memcmp(launchedPath, u"nand", 8) == 0)
sprintf(absPath, "nand:/rw/luma/%s", path);
else
sprintf(absPath, "sdmc:/luma/%s", path);
Expand Down

0 comments on commit c73fec4

Please sign in to comment.