libnx/nx
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
..
data switch to 16x16 console font 2018-02-25 15:49:25 +01:00
external/bsd/include Fixed ifr_flags type by introducing ifr_flagshigh (fixes #248) 2019-03-09 16:37:33 +01:00
include Major cleanup and refactor of fsdev and romfsdev, see details: 2019-10-20 22:22:04 +02:00
source Major cleanup and refactor of fsdev and romfsdev, see details: 2019-10-20 22:22:04 +02:00
.gitignore ignore generated files 2017-09-18 19:40:15 +01:00
default_icon.jpg Changed the default icon (again) 2018-02-25 15:49:50 +01:00
Doxyfile Start doxygen bringup, with some miscellaneous cleanup 2018-02-10 22:40:11 +01:00
Makefile Deprecate current IPC interface 2019-09-19 02:58:12 +02:00
switch_rules switch_rules: Make sure BUILD_EXEFS_SRC is non-empty before testing it 2019-03-26 13:28:49 +01:00
switch.ld Add custom extension to MOD0 header & a few other useful symbols 2019-04-08 16:36:45 +02:00
switch.specs Add --nx-module-name to linker flags 2019-03-29 18:40:27 +01:00