Commit Graph

870 Commits

Author SHA1 Message Date
GaryOderNichts
f6b123da18 License change to zlib 2022-08-02 23:07:24 +02:00
Maschell
a902da1ce7 wutdevoptab: Prevent file-offset overflow in seek implementation 2022-07-30 18:06:39 +02:00
Maschell
3469036c44 wutdevoptab: Only call FSGetStatFile to obtain the filesize on SEEK_END 2022-07-30 18:04:36 +02:00
GaryOderNichts
2c299d71fc devoptab: Make sure file->offset gets updated and initialized 2022-07-30 17:58:06 +02:00
Maschell
b86ac2bf98 wutdevoptab: Fix check for O_UNENCRYPTED flag 2022-07-30 17:57:05 +02:00
Maschell
028899ecd3 wutcrt: Add a trapword in case a debugger is initialized to allow debugging 2022-07-27 23:40:43 +02:00
Maschell
215adf35bc wutcrt: Make sure main is called with a 8 byte aligned stack pointer 2022-07-27 23:12:03 +02:00
Maschell
9d7289c69f nn::acp: Remove invalid C++ function declarations 2022-07-26 18:30:14 +02:00
Maschell
5f3217b267 nn::acp: Fix C function declerations 2022-07-26 18:30:14 +02:00
fincs
8034043ecf
wut v1.1.0 2022-07-25 20:58:18 +02:00
Maschell
1ebadb1169 coreinit: Update FSCmdBlockBody struct to include asyncResult 2022-07-24 20:08:26 +02:00
Maschell
309deefe9d nn::acp: Enforce ACPGetTitleMetaXml parameter alignment requirement. 2022-07-23 21:24:41 +02:00
Maschell
cb251757f4 sysapp: Add function declaration for _SYSLaunchTitleByPathFromLauncher 2022-07-23 19:31:33 +02:00
Maschell
107105e757 coreinit: Add OSShutdown function declaration 2022-07-23 19:26:35 +02:00
Maschell
7418f20eca coreinit: Add OSRestartGame function declaration 2022-07-23 19:26:35 +02:00
Maschell
a6018a7b33 nn::acp: Add missing ACPInitialize / ACPFinalize function declarations 2022-07-23 16:35:00 +02:00
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