Removed some features that would see little use like the TWL mode option
and the enable SD option. MBK init code moved and always used. Sets MBK
to proper values for NTR mode (as documented in No$GBA).
Since this build is now intended to be launched from a patched DSi
System Menu, the touch screen mode change code has been removed and and
this no longer requires a custom libnds build that isn't really
available anywhere right now. :P
It almost compiles without any warnings now. Only fix left for it that
is to redo slot reset code. Original code is too much of a mess to
compile with the "-Wall -Wextra -Werror" flag.
That flag has been added to makefile of arm9/bootloader. Once arm7 is
fixed it will be added there as well.
Turns out certain settings in header set by ndstool broke the primary
card init method. Manually setting the values to what they were in older
builds restores all functionality the older builds had.
Also added source files of the graphics used in the bootanimation from
the old github repo.
The following commits were merged:
0fe83d2b25a87af8359747ea3da28566740e751a
No new problems were intreduced however this did not resolve the failure
to boot/read slot-1.
Thanks to ahezard for inspiration to update the code.
Use opendir/readdir/closedir instead of diropen/dirread/dirclose.
Use new register names.
Bump version number to signify code change.