Commit Graph

30 Commits

Author SHA1 Message Date
GaryOderNichts
2c98cc91aa Run clang-format
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
`find . -regex '.*\.\(cpp\|hpp\|cu\|cuh\|c\|h\)' -exec clang-format -style=file -i {} \;`
2025-06-05 11:06:04 +01:00
miku-666
8cae5c050d Update FSStateChangeParams and add offset checks 2022-10-29 18:44:31 +02:00
Maschell
80de7e3aac Add missing FSARequest/FSAResponse structs 2022-09-17 21:45:13 +02:00
Xpl0itU
88bf29a766 Add const to paths in coreinit/filesystem.h 2022-08-28 00:51:54 +02:00
Maschell
f26ef1a7a4 coreinit: Fix order of arguments for FSOpenFileExAsync 2022-08-05 23:28:18 +02:00
Maschell
1ebadb1169 coreinit: Update FSCmdBlockBody struct to include asyncResult 2022-07-24 20:08:26 +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
38eaa155cc
Add FSA structs and function declarations (#228) 2022-06-18 12:47:27 +02:00
Maschell
0b196e8abc coreinit: Fix FSError enum 2022-05-21 21:09:25 +02: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
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
Maschell
62b78f7b9f
coreinit: Add missing parameter to FSChangeMode/FSChangeModeAsync (#199) 2022-02-26 16:55:47 +01:00
Maschell
42be83dd8c coreinit: Add missing FSGetVolumeInfo to coreinit 2021-12-28 16:30:31 +01:00
Maschell
aa31f61966 coreinit/filesystem: Add FSErrorFlag 2021-01-01 17:21:44 +01:00
James Benton
bc9ececcc1 Add some missing fields in FSStat. 2018-09-14 08:43:46 +01:00
Ash
33ae7587d6 include/coreinit: Shorten/rephrase some particularly long briefs 2018-07-25 10:38:31 +10:00
James Benton
0cba642861 Add WUT_PACKED macro for struct packing. 2018-06-20 11:20:43 +01:00
Maschell
e528a09ba5 Add struct FSMessage and struct FSAsyncResult, added some missing fields to FSStat 2018-06-20 11:20:43 +01:00
James Benton
5f1b1902f6 Prefix structsize macros with WUT_ 2018-06-20 11:05:16 +01:00
James Benton
b4619783ca Remove sized types from wut_types.h
stdint.h exists for a reason.
2018-06-20 11:05:16 +01:00
James Benton
479e9ad677 Add devoptab support for sdcard. 2018-05-27 12:11:45 +01:00
James Benton
4a595fba93 coreinit: Fill out MEMUnitHeap structure. 2016-10-09 21:16:40 +01:00
shinyquagsire23
98966f020f Add FSBindMount and FSBindUnmount 2016-08-26 16:25:05 -07:00
shinyquagsire23
6affe2ff29 Add FSChangeMode and FSGetFreeSpaceSize 2016-08-26 16:25:05 -07:00
shinyquagsire23
0d4fe1f052 Add FSMountSource struct, use filesystem structs in devoptab 2016-07-31 22:28:28 -07:00
shinyquagsire23
0aa7a3e021 Add devoptab support to crt 2016-07-30 22:28:58 -07:00
James Benton
fd069526ab filesystem: Remove unnecessary include. 2016-01-11 01:19:08 +00:00
James Benton
369b2cb6b1 Add FSError, FSVolumeState enum values. 2016-01-11 01:13:14 +00:00
James Benton
4779dea85a Fix filesystem.h 2016-01-10 17:10:38 -08:00
James Benton
74cbc8f3ff Add filesystem functions. 2016-01-11 01:04:58 +00:00