Pass the actual arg-str start to envSetNextLoad().
This commit is contained in:
parent
77baa0c32f
commit
52a012c50f
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user