Commit Graph

8 Commits

Author SHA1 Message Date
lifehackerhansol
5eac5c72b8
mainlist: sanity check going back from top menu
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.
2024-10-14 17:12:40 -07:00
lifehackerhansol
3c9b9088ef
mainlist: fix retriving attributes of file
This requires a full path, but it was instead passing the file name.
This caused files to only appear in the root directory.
2024-10-14 17:12:40 -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
lifehackerhansol
a2a82b6e4e
Add support for DSi SD
- Due to too much hardcoding on flashcart, it requires a compiler flag
  to enable DSi features.
2024-10-13 22:39:04 -07:00
lifehackerhansol
8476d61c49
treewide: switch to SPDX-License-Identifier 2024-10-13 02:11:14 -07:00
lifehackerhansol
220e82fcbd
treewide: clang-format 2024-10-13 02:11:12 -07:00
lifehackerhansol
a7dd6151a4
Make it build on latest devkitARM
- 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
2024-10-05 20:49:07 -07:00
lifehackerhansol
6fe395b92f
Extract akmenu4 from woodrpg v1.25 2024-10-04 22:35:39 -07:00