Commit Graph

898 Commits

Author SHA1 Message Date
GaryOderNichts
575b8897e7 wutstdc++: Fix __wut_cond_timedwait 2022-09-27 23:24:27 +02:00
Maschell
b417b8fbd4 coreinit: Add missing coreinit/context.h include in coreinit/interrupts.h 2022-09-22 17:32:16 +02:00
GaryOderNichts
d3d0485e71 nn_nfp: Add declarations for amiibo settings 2022-09-21 23:39:30 +02:00
GaryOderNichts
f39f4647b4 sysapp: add _SYSDirectlySwitchTo 2022-09-21 23:04:33 +02:00
GaryOderNichts
1a78ac37cf sysapp: add arguments 2022-09-21 23:04:33 +02:00
Maschell
d106a44cf5 wutstdc++: Add weak variable __wut_thread_default_stack_size to override the default stack size 2022-09-21 21:01:43 +02:00
Maschell
aa2e76795f wutstdc++: Decrease the stack size for gthread threads from 4MiB to 128KiB. 2022-09-21 21:01:43 +02:00
GaryOderNichts
0ecfaa3966 nn_nfp: Update functions, structs and add documentation 2022-09-21 20:52:47 +02:00
Maschell
ec4a7eae1e wutdevoptab: check size of a read/write before checking the buffer alignment to reduce the read/write calls 2022-09-20 19:23:16 +02:00
GaryOderNichts
2c331d22ce nn::Result: add missing modules 2022-09-17 22:16:07 +02:00
GaryOderNichts
192a26ffc1 whb/console: Add missing MEMRecordStateForFrmHeap 2022-09-17 22:15:07 +02:00
Maschell
be79908dbd wutstdc++: Fix potential memory leak when thread creation fails. 2022-09-17 21:53:17 +02:00
Maschell
6c1388abd7 wutstdc++: Check if memory allocations were successful on thread creation 2022-09-17 21:46:25 +02:00
Maschell
80de7e3aac Add missing FSARequest/FSAResponse structs 2022-09-17 21:45:13 +02:00
GaryOderNichts
0edd2e9c5c Add missing IM_* functions from coreinit 2022-08-28 00:52:10 +02:00
Xpl0itU
88bf29a766 Add const to paths in coreinit/filesystem.h 2022-08-28 00:51:54 +02:00
Maschell
95feb9288a wutdevoptab: Fix memory leak in open() 2022-08-28 00:15:13 +02:00
GaryOderNichts
366f02606b Add several definitions for Multi/Double DRC mode 2022-08-28 00:14:56 +02:00
GaryOderNichts
5c8a4a9056 Add several nsysccr functions 2022-08-28 00:14:46 +02:00
GaryOderNichts
c77e6f6015 Add several nn_ccr functions 2022-08-28 00:14:31 +02:00
fincs
a8ae667989
wut v1.1.1 2022-08-07 17:07:07 +02:00
Maschell
733d5000fc wutdevoptab: Add support for more open() flags (and flag combinations) 2022-08-06 14:14:11 +02:00
GaryOderNichts
42292fadc6 wutnewlib: Use OSCompareAndSwapAtomicEx for sbrk 2022-08-05 23:31:10 +02:00
GaryOderNichts
e81c3a159f wutstdc++: Use OSSwapAtomic where compare isn't necessary 2022-08-05 23:31:10 +02:00
GaryOderNichts
4b81e19867 wutnewlib: Replace built-in atomics with OS* atomics 2022-08-05 23:31:10 +02:00
Maschell
f26ef1a7a4 coreinit: Fix order of arguments for FSOpenFileExAsync 2022-08-05 23:28:18 +02:00
Maschell
414843d274 wutdevoptab: Return early in lseek when the position is not changing 2022-08-02 23:44:18 +02:00
Maschell
1c5e6af39b wutdevoptab: Fix "syncing" the file->offset with the real offset on append mode. 2022-08-02 23:08:29 +02:00
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