Dwedit's Board

Enjoy the board

You are not logged in.

Announcement

User passwords may have been corrupted, if you can't log in, use the "Forgot Password" feature. If you still can't log in, contact me and I can try to manually reset your password.

#1 2008-08-19 2:26:55 am

FluBBa
Emu Haxor
From: Sweden, GBG
Registered: 2008-08-19
Posts: 1
Website

FCSR DLDI stuff

Hi Dwedit, what was the problem with the FCSR DLDI implementation?
Also I couldn't download the DLDI file from GPFs website, the zipfile was 16kB but would open for me...

Offline

#2 2008-08-19 9:57:26 am

Dwedit
Administrator
From: Chicago
Registered: 2004-12-12
Posts: 1,022
Website

Re: FCSR DLDI stuff

Not a problem in FCSR, but a problem that devkitpro's headers got out of sync with the binary libfat.
The stat struct reports as 64 bytes to your code, but to libfat, the size is bigger, so if you create a stat, then pass it to libfat, memory after the stat gets overwritten with zeroes.
Workaround: Make a char[96] and cast its address to a stat* as needed

I always just used DLDIRC for all my dldi patching needs.  But dldirc still comes with the broken FAT disk image maker that is limited to floppy sized images.


"We are merely sprites that dance at the beck and call of our button pressing overlord."

Offline

Registered users online in this topic: 0, guests: 1
[Bot] CCBot

Board footer

Powered by FluxBB
Modified by Visman