Commit Graph

820 Commits

Author SHA1 Message Date
Crementif
7831bb20a1 Add more FSStatFlags and add FSTimeToCalendarTime
This pull request adds:
 - Missing flags to FSStatFlags so that it's possible to recognize these (sym)links or encrypted files.
 - Adds the FSTimeToCalendarTime function which is used to convert the created and modified time of the FSStat entry.

These additions don't change anything and are only additive, so it won't break/change existing projects.

Credits to @koolkdev for figuring out the FSStat flags. I double-checked them and did some minor changes (unencrypted -> encrypted).
2022-04-15 16:49:44 +01:00
GaryOderNichts
47991bc8a6 Add nn::nfp functions 2022-04-15 16:43:38 +01:00
Maschell
6112345285 Add various functions used in root.rpx 2022-04-15 16:43:02 +01:00
Maschell
e16dc8725d nn_temp: Add missing functions 2022-04-15 16:42:30 +01:00
fincs
03c3d42d38
wutnewlib: replace dynamic allocation of OSMutex with static table 2022-03-05 17:58:51 +01:00
Maschell
b23f9bde00
libwhb: Use an aligned buffer size for WHBReadWholeFile to avoid potential heap corruption (#212) 2022-03-04 11:52:40 +00:00
Maschell
616ebe1a06 wutdevoptab: Only call FSUnmount if FSMount was successful 2022-02-27 16:06:22 +01:00
Maschell
62b78f7b9f
coreinit: Add missing parameter to FSChangeMode/FSChangeModeAsync (#199) 2022-02-26 16:55:47 +01:00
Maschell
920c8ad3d6
wutdevoptab: Add missing FSUnmount on fini (#207) 2022-02-26 16:54:18 +01:00
Maschell
50c3f75511 nn_acp: Add missing functions related to DrcLed 2022-02-19 17:29:49 +01:00
Maschell
ff92f616da nn_save: Add missing functions 2022-02-19 17:29:30 +01:00
Maschell
58fabd79a2 libwhb: Add missing close() call on WHBLogUdpDeinit reset socket val 2022-02-19 17:28:53 +01:00
Maschell
fefde021b9
wutmalloc: Fix memalign to ensure the size is aligned (#196)
This fixes situations that can arise in places such as FSReadFile/FSWriteFile, in which buffer sizes need to be aligned to 0x40; otherwise heap corruptions could happen when multithreading.
2022-02-12 20:49:16 +01:00
Maschell
6d7b8fdda6 coreinit: Fix OSThreadLink struct 2022-02-11 22:26:26 +00:00
Maschell
f41f5a9865 coreinit: Add interrupts.h 2022-02-11 22:25:37 +00:00
Maschell
586c9fb13d coreinit: add scheduler.h 2022-02-11 22:25:07 +00:00
Maschell
3a28f36332 sysapp: Fix return types and arguments for switchTo-functions, add missing switchTo-fucntions 2022-02-11 22:24:54 +00:00
miku-666
a6dba64a15 Fixed typo 2022-02-11 22:24:28 +00:00
miku-666
ab5b0fee4b Add OSDynLoad_GetLoaderHeapStatistics 2022-02-11 22:24:28 +00:00
Fangal-Airbag
888bab16b5 Fix offset name
Forgot to whoops :P
2022-02-10 10:25:17 +00:00
Fangal-Airbag
65e5a5521c Fix up naming 2022-02-10 10:25:17 +00:00
miku-666
1eab4240a1 Add more fields to nn::swkbd
Co-Authored-By: Fangal-Airbag <77993079+Fangal-Airbag@users.noreply.github.com>
2022-02-10 10:25:17 +00:00
Crayon
fb12dd1ed9
Publish documentation when pushing to a tag (#156) 2022-02-05 00:54:47 +01:00
LRFLEW
31e97ecc65 Add Error Types for VPAD and KPAD Reads 2022-02-04 14:45:39 +00:00
LRFLEW
cd76f35ab4 Add KPADShutdown() 2022-02-04 14:44:05 +00:00
fincs
4fcda4bd56
Move CMake machinery to devkitPro CMake 2022-01-23 12:55:36 +01:00
James Benton
432c895f75 Add nn::erreula library. 2022-01-20 00:38:36 +01:00
James Benton
e11ded4992 nn_swkbd: Fix potential memory leaks. 2022-01-20 00:38:36 +01:00
James Benton
250039e932 Remove some trailing whitespace. 2022-01-20 00:38:36 +01:00
James Benton
f84ee4bbfc Remove nlibcurl.
Our sockets are now devoptab sockets which are not nlibcurl compatible.
2022-01-19 23:51:20 +01:00
LRFLEW
de7c2a8070 Add OSForceFullRelaunch() declaration 2021-12-29 14:14:55 +01:00
GaryOderNichts
f2a7fff3af nn_cmpt: Add functions 2021-12-29 14:07:37 +01:00
Maschell
92710d4357 SL: Add missing header 2021-12-29 14:07:24 +01:00
GaryOderNichts
c05bc5b987
nn_spm: Add missing functions (#182) 2021-12-29 14:06:02 +01:00
Maschell
8165c527fd CCR: Add missing function CCRSysCaffeineGetAppLaunchParam and CCRSysCaffeineBootCheck 2021-12-28 16:55:04 +01:00
Maschell
c3946c3ca2 ACT: Add missing function LoadConsoleAccount 2021-12-28 16:44:27 +01:00
Maschell
d896fdede1 ACP: add missing function ACPAssignTitlePatch 2021-12-28 16:39:43 +01:00
Maschell
a812d49c13 sysapp: Add _SYSLaunchTitleWithStdArgsInNoSplash and _SYSLaunchMenuWithCheckingAccount 2021-12-28 16:39:34 +01:00
Maschell
42be83dd8c coreinit: Add missing FSGetVolumeInfo to coreinit 2021-12-28 16:30:31 +01:00
Maschell
ce2cd4e843 libwhb: Add option to log to the LoggingModule 2021-11-06 17:28:09 +01:00
Maschell
563b9d6c89 libwhb: return true if a log handler is already present 2021-11-06 17:28:09 +01:00
fincs
da216ea979 wut 1.0.0-beta12 2021-11-01 19:53:39 +01:00
fincs
eb0306184d
wutsocket: Revise automatic initialization, see details:
- __init/fini_wut_socket have been simplified and are now weak,
  this is intended to allow users to customize their behaviour
- socket_lib_init/exit have been restored as regular imports and are
  no longer using RPLWRAP
- __wut_socket_init/fini_devoptab are now exposed as global symbols,
  intended to be used in custom socket init/deinit logic
2021-09-18 16:57:29 +02:00
Maschell
a766871253
libwutsocket: Add ACConnectAsync(), ACClose(), ACGetCloseStatus() 2021-09-18 16:49:12 +02:00
fincs
9174f415ed
Fix static constructors (closes #172) 2021-06-08 20:04:33 +02:00
fincs
dabb4c6052
wut.ld: restore .tm_clone_table 2021-04-25 16:52:12 +02:00
fincs
b6ca8b16a1
More linkscript updates, fixes and cleanup (fixes #123) 2021-04-25 16:41:43 +02:00
Maschell
4c816e115e nsysuhs: Add header for nsysuhs.rpl 2021-04-12 18:01:53 +02:00
GaryOderNichts
d0dc9869e5 wutsocket: avoid aliasing issues 2021-03-07 16:40:55 +01:00
GaryOderNichts
174b0c0a86 wutsocket: implement gethostid and gethostname 2021-03-07 16:40:55 +01:00