gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > [SOLVED] libfat and no$gba

#157039 - thegamefreak0134 - Sun May 18, 2008 2:46 am

On no$gba, when I try to initialize libfat, it fails. Now, I'm perfectly OK with this, as I know no$gba doesn't have any emulation for the slot 2 devices while in DS mode, and that's fine and dandy by me.

My trouble is that it doesn't just fail, it fails HARD, and I can tell from the resulting screens that memory corruption is happening everywhere because of it.

Now, I *think* the program is DLDI compatible, I'm using the latest libfat and I have strong faith that that's the case. I'm just worried if this memory corruption tends to happen on real hardware? I would ideally like the program to be able to recover and just work in a no load, no save mode if FAT cannot be initialized...

If it's just on no$gba that it fails, and not on real hardware, I can work with that. I've got a card that auto-patches the file with the DLDI (or it works out of the box one, I can't tell really) so I have no way of hardware testing it on different cards to see if a failure will indeed cause a massive crash like this.

Thanks!

-gamefreak
_________________
What if the hokey-pokey really is what it's all about?

[url=http:/www.darknovagames.com/index.php?action=recruit&clanid=1]Support Zeta on DarkNova![/url]


Last edited by thegamefreak0134 on Sun May 18, 2008 3:53 am; edited 1 time in total

#157042 - thegamefreak0134 - Sun May 18, 2008 3:52 am

*NEVERMIND*

I was being silly and not loading a blank image when it failed. My bad, please ignore this post, libfat failing on no$gba does not cause any issues whatsoever.

-gamefreak
_________________
What if the hokey-pokey really is what it's all about?

[url=http:/www.darknovagames.com/index.php?action=recruit&clanid=1]Support Zeta on DarkNova![/url]