Filesystem And SDL On devkitPPC

support for the powerpc toolchain
Post Reply
Ghost6765

Filesystem And SDL On devkitPPC

Post by Ghost6765 » Thu Aug 12, 2010 4:09 pm

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

User avatar
DeeKay
Posts: 4
Joined: Thu Aug 12, 2010 9:07 pm

Re: Filesystem And SDL On devkitPPC

Post by DeeKay » Thu Aug 12, 2010 9:48 pm

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();

Ghost6765

Re: Filesystem And SDL On devkitPPC

Post by Ghost6765 » Fri Aug 13, 2010 3:46 pm

Thanks for the reply.

ccfreak2k
Posts: 14
Joined: Sat Mar 06, 2010 1:11 pm

Re: Filesystem And SDL On devkitPPC

Post by ccfreak2k » Mon Aug 16, 2010 2:08 am

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.

Ghost6765

Re: Filesystem And SDL On devkitPPC

Post by Ghost6765 » Mon Aug 16, 2010 10:14 am

So if SDL is ported is GX the best thing to currently use?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests