Fix memcmp u"nand" in fs.c

This commit is contained in:
TuxSH 2017-05-20 02:44:28 +02:00
parent b493e2bd5f
commit c73fec46e6

View File

@ -228,7 +228,7 @@ void loadPayload(u32 pressed, const char *payloadPath)
writeConfig(true); writeConfig(true);
if(memcmp(launchedPath, u"nand", 8)) if(memcmp(launchedPath, u"nand", 8) == 0)
sprintf(absPath, "nand:/rw/luma/%s", path); sprintf(absPath, "nand:/rw/luma/%s", path);
else else
sprintf(absPath, "sdmc:/luma/%s", path); sprintf(absPath, "sdmc:/luma/%s", path);