Fix memcmp u"nand" in fs.c
This commit is contained in:
parent
b493e2bd5f
commit
c73fec46e6
@ -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);
|
||||
|
Reference in New Issue
Block a user