Skip to content

Commit c73fec4

Browse files
committed
Fix memcmp u"nand" in fs.c
1 parent b493e2b commit c73fec4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/fs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ void loadPayload(u32 pressed, const char *payloadPath)
228228

229229
writeConfig(true);
230230

231-
if(memcmp(launchedPath, u"nand", 8))
231+
if(memcmp(launchedPath, u"nand", 8) == 0)
232232
sprintf(absPath, "nand:/rw/luma/%s", path);
233233
else
234234
sprintf(absPath, "sdmc:/luma/%s", path);

0 commit comments

Comments
 (0)