From c73fec46e60b24d44b04202a47f8fc9796fa04db Mon Sep 17 00:00:00 2001 From: TuxSH Date: Sat, 20 May 2017 02:44:28 +0200 Subject: [PATCH] Fix memcmp u"nand" in fs.c --- source/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/fs.c b/source/fs.c index f313b3b42..2dd0de82b 100644 --- a/source/fs.c +++ b/source/fs.c @@ -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);