This PR adds changes to switch from using libnds DSi SD card driver to profi200 SD card driver from here, partially fixes #71
The driver was slightly modified to use libtwl instead, and it waits for an event instead of just halting, thanks to @Xluma as libtwl integration is based from his implementation in another libtwl related project.
This has been tested working correctly in both DSi/3DS consoles, with these SD cards;
Samsung EVO Plus 128GB UHC Class 10
Toshiba 4GB Class 4
Kingston 32GB Class 10
It also fixes random flickering in Mega Man Zero 4 intro stage BG animations and Wild Battle Encounter animation intros in Pokémon games, it may also fix other SD related issues in other games.
Sound crackling is still occurring in some games, like Mermaid Melody, so that may require to implement NDMA into this driver.
This PR adds changes to switch from using libnds DSi SD card driver to profi200 SD card driver from here, partially fixes #71
The driver was slightly modified to use libtwl instead, and it waits for an event instead of just halting, thanks to @Xluma as libtwl integration is based from his implementation in another libtwl related project.
This has been tested working correctly in both DSi/3DS consoles, with these SD cards;
It also fixes random flickering in Mega Man Zero 4 intro stage BG animations and Wild Battle Encounter animation intros in Pokémon games, it may also fix other SD related issues in other games.
Sound crackling is still occurring in some games, like Mermaid Melody, so that may require to implement NDMA into this driver.