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?
Wiiload arguments
Re: Wiiload arguments
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".
Who is online
Users browsing this forum: No registered users and 0 guests