Commit Graph

18 Commits

Author SHA1 Message Date
Maschell 45efb02d27 Make sure all path checks are case-insensitive 2024-05-08 11:22:20 +02:00
Maschell 60b711cf81 Update Dockerfile 2024-05-06 16:34:44 +02:00
Maschell f9a4b537c8 Skip stat if _DIRENT_HAVE_D_STAT is set 2024-04-28 15:31:48 +02:00
Maschell d0dfbd6d4e Hotfix for readdir bug in latest newlib version 2024-04-28 15:31:48 +02:00
Maschell a2c8863cbe Revert "Add support for FS_LAYER_TYPE_SAVE_REPLACE_IGNORE_VOL_SAVE_COMMON"
This reverts commit 71406e2044.
2024-04-28 15:31:48 +02:00
Maschell 71406e2044 Add support for FS_LAYER_TYPE_SAVE_REPLACE_IGNORE_VOL_SAVE_COMMON 2024-04-24 18:38:31 +02:00
Callum Parsey 0df67fc7d9 Support "wb" mode for opening files
Hachihachi (the Nintendo DS emulator used in Virtual Console) crashes
when its save data is redirected to the SD card. It tries to open the
save-state files in "wb" mode which is currently rejected by the
ContentRedirectionModule. This causes the emulator's `SAVEOpenFile()`
call to fail, and the emulator immediately panics.

I am operating under the assumption that the Wii U's I/O system
doesn't differentiate between text and binary modes, like most other
operating systems. This is evidenced by the fact that the module
already supports "rb" mode and treats it in the same way as "r".
2023-11-17 11:15:25 +01:00
Maschell 857461b735 Rewrite of almost everything to fix crashes and lags 2022-09-17 22:38:25 +02:00
Maschell 3be38d6ea9 Add default error value for FSMakeDirWrapper 2022-09-05 20:24:43 +02:00
Maschell f7358bc380 Fix FSOpenFileWrapper result 2022-09-05 20:24:43 +02:00
Maschell bfa30678a0 Implement mkdir 2022-09-05 20:24:43 +02:00
Maschell fca2193e40 Fix readdir wrapper 2022-08-08 18:10:19 +02:00
Maschell eddbc7400e Fill FSStat with more information 2022-08-08 10:15:27 +02:00
Maschell 78ca44dbf8 Fix logging the file size on stats wrapper 2022-08-08 10:15:27 +02:00
Maschell aa58f1745f Return FSError instead of FSStatus in FSWrapper 2022-08-08 10:15:27 +02:00
Maschell 030195238f Remove don't remove extra error flags in FSOpenFileAsync as we end up in FSOpenFileExAsync anyway 2022-08-06 22:47:11 +02:00
Maschell 8043922311 Use shared_ptr/unique_ptr instead of raw ptr 2022-04-29 15:08:53 +02:00
Maschell 7c9c0348fe first commit 2022-04-14 22:41:41 +02:00