Commit Graph

854 Commits

Author SHA1 Message Date
Maschell
d290bc8a8a coreinit: Add missing bsp functions 2022-07-23 16:24:44 +02:00
Maschell
89d8e818cd vpad: Add missing VPADSetSamplingCallback function declaration 2022-07-23 16:24:31 +02:00
Maschell
c96d0e7b81 sysapp: Add missing function SYSLaunchMiiStudio 2022-07-23 15:53:50 +02:00
Maschell
4997d54b24 sysapp: Fix parameter of serveral _SysLaunch functions 2022-07-23 15:53:50 +02:00
Maschell
173a2ebdb3 nsyshid: Fix HIDSetIdle parameters, add HIDGetIdle 2022-07-23 13:20:14 +02:00
Crementif
d621766b2f
devoptab: Implement various functions and fixes (#223)
- Improved error codes for unlink and rmdir regarding non-empty directories.
- Return ENOENT on empty strings since it softlocks the Wii U. Since the devoptab relies on the cwd it's pretty easy to run into with stuff like recursive path creation for example.
- Clean up open_r mode_t->string conversion
- Improved FSStat->mode_t conversion
- Add FSOpenFileEx and flags
2022-07-23 12:03:07 +02:00
Maschell
b2710f8448
Add initial nsyskbd header (#237) 2022-07-22 09:25:58 +01:00
Xpl0itU
4292907324
Fix CMPTLaunchTitle definition (#235) 2022-07-22 09:25:29 +01:00
Maschell
318c3a72b9
Fix FSACommandEnum (#236) 2022-07-22 09:25:09 +01:00
GaryOderNichts
f1b5da996f
Replace the CafeOS default heap with a custom one (#221) 2022-06-30 21:05:11 +02:00
GaryOderNichts
c86b7cf574 Proc UI: Add missing functions 2022-06-30 21:03:09 +02:00
GaryOderNichts
53ceda65da gx2: Add inlined GX2SetShaderMode function 2022-06-30 21:02:43 +02:00
GaryOderNichts
f64726d9c1 gx2: Add GX2CopySurfaceEx 2022-06-30 21:02:28 +02:00
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