nds_nflib/source
Antonio Niño Díaz 4a257af310 Improve detection of device that contains the NDS ROM
When accessing the filesystem, what a user normally wants is to access
the same drive that holds the NDS ROM being run.

On the DS it is easy. The only available drive is the one of the DLDI
driver.

On DSi, it isn't so easy. It is possible to run a ROM that is either on
the SD card or in a flashcard (accessed with DLDI).

The easiest way to determine the right drive to use is to use argv[0].
The loader stores the location of the NDS ROM there, including the
drive.

The trivial detection should only be used as a fallback mechanism if
argv[0] isn't present.
2023-04-19 00:47:52 +01:00
..
nf_2d.c Use UTF-8 across all codebase 2023-04-13 18:51:09 +01:00
nf_3d.c Use UTF-8 across all codebase 2023-04-13 18:51:09 +01:00
nf_affinebg.c Do not force libfilesystem or libfat dependency 2023-04-13 11:30:37 -07:00
nf_basic.c Improve detection of device that contains the NDS ROM 2023-04-19 00:47:52 +01:00
nf_bitmapbg.c Do not force libfilesystem or libfat dependency 2023-04-13 11:30:37 -07:00
nf_colision.c Do not force libfilesystem or libfat dependency 2023-04-13 11:30:37 -07:00
nf_media.c Do not force libfilesystem or libfat dependency 2023-04-13 11:30:37 -07:00
nf_mixedbg.c Do not force libfilesystem or libfat dependency 2023-04-13 11:30:37 -07:00
nf_sound.c Do not force libfilesystem or libfat dependency 2023-04-13 11:30:37 -07:00
nf_sprite3d.c Use UTF-8 across all codebase 2023-04-13 18:51:09 +01:00
nf_sprite256.c Do not force libfilesystem or libfat dependency 2023-04-13 11:30:37 -07:00
nf_text16.c Do not force libfilesystem or libfat dependency 2023-04-13 11:30:37 -07:00
nf_text.c Do not force libfilesystem or libfat dependency 2023-04-13 11:30:37 -07:00
nf_tiledbg.c Do not force libfilesystem or libfat dependency 2023-04-13 11:30:37 -07:00