Dwedit's Board

Enjoy the board

You are not logged in.

Announcement

Welcome, fellow visitors from other websites!
Whenever you download a file, I'd appreciate it if you posted a nice "Thank You" message, then tell me which site you came from. Thanks.
- Dwedit

#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,017
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] claudebot

Board footer

Powered by FluxBB
Modified by Visman