Skip to content

Commit

Permalink
Pass the actual arg-str start to envSetNextLoad().
Browse files Browse the repository at this point in the history
  • Loading branch information
yellows8 committed Feb 18, 2018
1 parent 77baa0c commit 52a012c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nx_main/loaders/builtin.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ static void launchFile(const char* path, argData_s* args)
/*if (strncmp(path, "sdmc:/",6) == 0)
path += 5;*/
memcpy(argBuf, args->buf, sizeof(args->buf));
Result rc = envSetNextLoad(path, (char*)argBuf);
Result rc = envSetNextLoad(path, (char*)&argBuf[1]);
if(R_FAILED(rc)) fatalSimple(rc);//TODO: How should failing be handled?
uiExitLoop();
}
Expand Down

0 comments on commit 52a012c

Please sign in to comment.