This is probably not needed as users are likely to use another
bootloader, but it's useful nonetheless particularly for the DSTT
which may not need such a thing.
When going back to the top directory, the code passes "...". But what
if you go back *from* the top directory?
In this case, the menu goes crazy and loads the SD card directory, and
it is impossible to go back to the top directory.
At the top directory, the location is not "..." but actually "". It is
also possible for the directory passed to be ".../". Add a check for
all these probabilities and treat them like the top directory.
This was accidentally removed when file operations were removed; for
some reason that was tied to the favorites feature.
Add it back in a simpler form.
Not entirely sure why, but FIFOs were being sent and received AFTER the
interrupts were cleared, causing them to not send.
It's unknown how this ever worked on older libnds/devkitARM, but FIFOs
need interrupts to work.
This workaround, instead, hijacks an area of the ROM header as a
temporary variable to wait for ARM7.
This is loosely based on WAIO:
- Load akloader from a prebuilt akloader.nds. Must be extracted from a
given kernel.
- Remaining code based on the R4 variant of romloader.cpp
- Add setting to alternate between nds-bootstrap and given kernel
- UTF8-ify where possible
- Remove custom linkerscript
- Update Makefiles
- devkitPro/nds-examples@6afa09b205
- Comment out akloader binaries
- This will be reworked soon™️
- Eradicate sdidentify
- AKRPG specific
- Eradicate libelm
- Eradicate save64m
- Eradicate file operations
- Eradicate libio*
- Eradicate crtsmall
- Fix paths for new root drive naming in latest libfat
- dsrom: fix type cast issue in homebrew check
- MAX_FILENAME_LENGTH -> PATH_MAX
- adapt directory listing operations to new dkP way
- timer: unstaticify _factor
- Remove all flashcart-specific bits
- fix type of cPopMenu::itemBelowPoint
- gbaloader: use updated vramSetPrimaryBanks function
- Move arm9-specific headers to arm9