Page 1 of 1

Wiiload arguments

Posted: Sat Jan 19, 2013 12:00 am
by Oibaf
After many attempts, I found out that wiiload passes its first argument as argv[0].

According to the standard C argv[0] should be the name of the file and the first passed argument should be argv[1].

Why is there this difference?

Re: Wiiload arguments

Posted: Wed Mar 27, 2013 5:21 pm
by Oibaf
Indeed, I verified that argv[0] = name of dol/elf if wiiload is launched from a command window but argv[0] = "first argument", if wiiload is launched from programmer's notepad (windows environment) setting the parameters in Notepad as "$(ProjectName).dol argument".