Search found 1 match
- Thu Jul 16, 2009 11:22 pm
- Forum: devkitPPC
- Topic: Need help passing arguments to another dol
- Replies: 1
- Views: 3418
Need help passing arguments to another dol
Hello, I'm trying to launch another .dol from my own code, and the piece of code that I got looks like this: struct __argv dolArgv; bzero(&dolArgv, sizeof(dolArgv)); dolArgv.argvMagic = ARGV_MAGIC; dolArgv.length = strlen(filename) + 2; dolArgv.commandLine = malloc(dolArgv.length); if (!dolArgv ...