Commit Graph

9 Commits

Author SHA1 Message Date
Maschell
95feb9288a wutdevoptab: Fix memory leak in open() 2022-08-28 00:15:13 +02:00
Maschell
733d5000fc wutdevoptab: Add support for more open() flags (and flag combinations) 2022-08-06 14:14:11 +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
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
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
510409db7a wutdevoptab: Use FS_ERROR_FLAG_ALL instead of -1 2021-01-01 17:21:44 +01:00
James Benton
069e28acec Make the devoptab code more consistent. 2018-10-06 10:41:24 +01:00
James Benton
690bd6ccbd Revert "Rename wutdevoptab to wutdevoptab_sd"
This reverts commit 865af4609c.
Turns out it is for whole filesystem. oops.
2018-07-19 08:51:40 +01:00