Commit Graph

841 Commits

Author SHA1 Message Date
Xpl0itU
ed13ea3f19
MCP: Use const for paths (#231) 2022-06-24 22:33:38 +01:00
Maschell
0c4d7685f1 wutdevoptab: Add stub implemenation of utimes and implement lstat via stub to avoid undefined behaviour. 2022-06-18 16:55:34 +02:00
Maschell
38eaa155cc
Add FSA structs and function declarations (#228) 2022-06-18 12:47:27 +02:00
Maschell
8a2bf09800 wutdevoptab: Fix setting mode flags 2022-06-18 12:47:04 +02:00
Maschell
89b396d373 wutdevoptab: Only update the file->offset on a successful seek. 2022-06-18 12:46:45 +02:00
Maschell
1527966c0b sysapp: Fix incorrect enum name 2022-06-09 19:20:19 +02:00
miku-666
8fdfd12d6c Add MIC lib 2022-06-05 15:21:29 +01:00
Maschell
159f578b34 nsysnet: Add missing functions 2022-06-05 16:09:40 +02:00
Miku-666
de962298cc
Add nn::fp lib (#205) 2022-06-04 22:58:59 +02:00
Dave Murphy
6494a30c3d wutdevoptab: Make sure to always read into/write from a properly aligned buffer 2022-06-04 21:35:58 +02:00
Maschell
c0e4eb7ae8 wutdevoptab: simplify the __wut_fs_translate_time implementation 2022-06-04 19:23:30 +02:00
Maschell
0b196e8abc coreinit: Fix FSError enum 2022-05-21 21:09:25 +02:00
GaryOderNichts
92eb7ba649
Add wut_load_bounds section to prevent loader bug (#220) 2022-05-07 11:40:48 +01:00
Miku-666
6e547c154f
Add functions used in SCI lib (#211)
* Add functions used in SCI lib

* fix for older code using FSStateChangeInfo
just a typedef `typedef struct FSStateChangeParams FSStateChangeInfo`
2022-05-07 11:29:53 +01:00
Maschell
f0da3d7236
wutdevoptab: Add time and mode information for stat and fstat (#218)
* wutdevoptab: Add time and mode information for stat and fstat

* wutdevoptab: rename __wut_translate_mode to __wut_fs_translate_mode
2022-05-07 11:26:11 +01:00
GaryOderNichts
535e6d575b gx2: Add clip control functions 2022-05-07 11:25:13 +01:00
Maschell
cd6b4fb45d Fix syscall_clock implementation 2022-04-15 17:02:03 +01:00
Fangal-Airbag
b75d781df8 change rumbleStatus to BOOL 2022-04-15 17:00:03 +01:00
Fangal-Airbag
ebb886eb5a wpad: Add WPADControlMotor 2022-04-15 17:00:03 +01:00
Maschell
578674a336 wutdevoptab: Replace FSError usage with FSStatus in __wut_fs_translate_error 2022-04-15 16:59:42 +01:00
GaryOderNichts
0b434c5d0a nsysuhs: Add missing functions and types 2022-04-15 16:58:19 +01:00
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