devkitPro / libnds

C library for Nintendo DS
http://devkitpro.org/viewforum.php?f=38
Other
324 stars 46 forks source link

Access to sdmmc sdcard device from arm7 is not working #21

Closed ahezard closed 7 years ago

ahezard commented 7 years ago

These 2 functions are defined into include/nds/arm7/sdmmc.h but not implemented anywhere : int sdmmc_sdcard_readsectors(u32 sector_no, u32 numsectors, void out); int sdmmc_sdcard_writesectors(u32 sector_no, u32 numsectors, void in);

WinterMute commented 7 years ago

FWIW, you shouldn't be using the arm7 functions directly if at all possible.

Be very, very careful how you approach use of DSi specific hardware.

ahezard commented 7 years ago

I need it for nds-bootstrap. I know that I need to be careful, specially with the nand device.

Can you add an implementation for this functions?