Commit Graph

4 Commits

Author SHA1 Message Date
lifehackerhansol
95ff08bdc6
launcher: tell user when loader is missing
At the moment it will just do nothing and go back to menu; instead
print a hopefully helpful text that the file is missing.
2024-10-14 17:12:41 -07:00
lifehackerhansol
8a5ec3e0b8
AcekardLauncher: add system.sys generation support
This is needed by BL2CK-based akloader (which is the R4iTT loader) to
load titles.

Only that loader needs it, so hide behind a guard.
2024-10-14 17:12:40 -07:00
lifehackerhansol
21b6b529f3
Work around broken FIFO setup
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.
2024-10-14 17:12:39 -07:00
lifehackerhansol
fc0e950f34
Migrate old romloader code as an interface
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
2024-10-14 17:12:39 -07:00