#142655 - ingramb - Thu Oct 11, 2007 8:20 am
Is it safe to do this? If a dldi driver did byte copies into the destination, this would fail. Is this something that I should worry about?
#142661 - Dwedit - Thu Oct 11, 2007 9:42 am
The old gba_nds_fat does 16 bit alignment if your file buffer, destination, and seek position within the file are 16-bit aligned. But I bet the new SD libraries probably use 8 bit writes since they use a serial protocol instead of reading 16-bit data off an IDE device.
I think that if you are reading in units of sectors or clusters, then it does direct reading to the target memory. Otherwise it does a memcpy to the target. That is really old data though, it might have changed.
Anyway, it's probably not reliable reading to 16 bit data. (but I still do it anyway in my customized version of gba_nds_fat)
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."