Go to file
fincs c77b88d868
Major cleanup and refactor of fsdev and romfsdev, see details:
fsdev:
- Removed fsdevGetDefaultFileSystem and default-fs handling
- Refactored CWD support to have (dynamically allocated) per-device CWDs
  (CWD support as a whole can be turned off with __nx_fsdev_support_cwd)
- Optimized calls by passing pointer to device through r->deviceData
- Use the per-thread path buffer directly as the argument to FS functions
- Removed redundant cross-device check in fsdev_rename
- Fixed string comparison logic in fsdevFindDevice
- fsdev_fixpath now accepts an input device in order to skip device
  lookup (extensively used along with r->deviceData)
- Mounting a filesystem now automatically sets the default device
  if there wasn't any previous default device (or if it's stdnull)
- fsdevMountSdmc no longer sets cwd to the folder containing the
  executable - this logic was moved to a new internal function
  called on startup by default (and it is now disabled for NSOs)
- Other miscellaneous optimizations

romfsdev:
- Cleaned up romfsMount* functions, removed unused/unnecessary logic
- Changed romfsMount* functions to return real result codes
- Renamed romfsMount to romfsMountSelf and improved documentation
- Removed romfsInitFromFile and romfsInitFromStorage (use Mount instead)
- Added documentation for romfsInit and romfsExit
2019-10-20 22:22:04 +02:00
nx Major cleanup and refactor of fsdev and romfsdev, see details: 2019-10-20 22:22:04 +02:00
.doozer.json doozer: Adjust so docs-target is only trigged from Doozer's CD script 2019-01-03 11:32:30 -08:00
.gitignore Start doxygen bringup, with some miscellaneous cleanup 2018-02-10 22:40:11 +01:00
Changelog.md Release v2.5.0 2019-09-14 19:23:09 +02:00
CODESTYLE.md Amend codestyle 2018-02-26 03:16:54 +01:00
LICENSE.md Start doxygen bringup, with some miscellaneous cleanup 2018-02-10 22:40:11 +01:00
Makefile base_tools & base_rules move to devkitA64 2018-01-28 03:09:43 +01:00
README.md Updated wiki URLs. 2018-10-11 21:44:51 -04:00

Nintendo Switch AArch64-only userland library.

Based on libctru.

Build status

Install instructions

See Switchbrew.