libnx/nx/include/switch
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
..
applets web/friendsLa: Updated for using AccountUid. Renamed webConfigSetUserID to webConfigSetUid, and renamed WebArgType_UserID to WebArgType_Uid. 2019-10-08 17:44:53 -04:00
arm Miscellaneous documentation fixes 2019-05-03 14:32:02 +02:00
audio Added capsGetShimLibraryVersion. Added comments to audio.h. 2019-08-27 19:14:18 -04:00
crypto crypto: guard #defines with #ifndef 2019-04-04 20:13:36 +02:00
display Introduce new IPC interface wrapper code, see details: 2019-09-19 03:50:28 +02:00
kernel threads: support using existing mem as stack (#336) 2019-10-19 04:25:23 +02:00
nvidia Const correctness in nvGpuZbcAddColor (and fix comment typo) 2019-05-17 21:20:11 +02:00
runtime Major cleanup and refactor of fsdev and romfsdev, see details: 2019-10-20 22:22:04 +02:00
services hidsys: Fixed cmd order. Fixed output size for hidsysGetUniquePadSerialNumber. 2019-10-20 02:35:30 -04:00
sf Check for nullptr before copying to out_data in serviceDispatchImpl. 2019-10-01 20:50:09 -04:00
nacp.h Changed the type for NacpStruct.ratingAge to s8. 2019-08-26 11:56:24 -04:00
nro.h Stylefix for nro 2018-02-26 02:10:49 +01:00
result.h Minor style fixes in new IPC code 2019-09-20 14:54:45 +02:00
types.h Introduce NX_INLINE and NX_CONSTEXPR 2019-09-19 02:46:13 +02:00