dir* function wrapper
May 01, 2013 02:42AM
I'm still working on learning how to use the opendir/closedir/readdir/etc. functions (I know I've had plenty of time, I just keep putting it off), but a wrapper would be extremely helpful. It's not just for me either. Old apps that need to be recompiled for motion+ controllers sometimes require large amounts of code to be rewritten. If someone wrote a wrapper, only a couple of lines would need to be added. This would speed things up and reduce the chance of error.

I've tried to do this myself, but I am a rather poor coder and all my knowledge of C is self-taught, mainly through trial and error.

PS: Doing this will almost certainly lead to riches and glory. Or poverty and shame. You know what, forget I even mentioned this bit.
Re: dir* function wrapper
May 03, 2013 11:13PM
Haha I'm also interested in this but I, like you, am not a good coder. Hopefully someone can help out, or maybe eventually you or I will learn enough to accomplish it.
Re: dir* function wrapper
May 05, 2013 04:15AM
In the Wii examples that came with DevKitPro, there is a filesystem example. Does that help?
Re: dir* function wrapper
May 06, 2013 08:18AM
That would still mean recoding every app that used the dir* functions.

megazig wrote something for me, but I'm having trouble getting it to work.
Re: dir* function wrapper
May 07, 2013 04:33AM
Why would that mean having to recode everything if it's using a wrapper?
Sorry, only registered users may post in this forum.

Click here to login