Page 1 of 1

Filesystem And SDL On devkitPPC

Posted: Thu Aug 12, 2010 4:09 pm
by Ghost6765
What does filesystem do on the wii. I would Like To Find Out How To Eject The Disc In The DVD Drive So Should I Use The FileSystem Or Something Else. Also Does SDL Graphics language work on devkitpro cos I'm thinking of making my own engine for wii with it.

Thanks,
:)

Ghost 6765

Re: Filesystem And SDL On devkitPPC

Posted: Thu Aug 12, 2010 9:48 pm
by DeeKay
Hi,

See the di.h located in the include directory from libogc.
I believe what you are looking for is :

Code: Select all

DI_Eject();

Re: Filesystem And SDL On devkitPPC

Posted: Fri Aug 13, 2010 3:46 pm
by Ghost6765
Thanks for the reply.

Re: Filesystem And SDL On devkitPPC

Posted: Mon Aug 16, 2010 2:08 am
by ccfreak2k
As for SDL: There's at least a couple of different ports of SDL to devkitppc last time I checked, but they have their issues. I made a private fork of sdl-wii that worked fairly well on the GameCube. I -think- Tantric has also ported one or two programs that use SDL, Super Mario War being one I think. In all honesty, though, SDL doesn't really afford you anything on the Wii other than an easy 2D blitting API. The rest is just abstraction that makes it easier to port to other platforms; a Wii-only game might as well use libogc by itself.

Re: Filesystem And SDL On devkitPPC

Posted: Mon Aug 16, 2010 10:14 am
by Ghost6765
So if SDL is ported is GX the best thing to currently use?