Commit Graph

58 Commits

Author SHA1 Message Date
Maschell
71406e2044 Add support for FS_LAYER_TYPE_SAVE_REPLACE_IGNORE_VOL_SAVE_COMMON 2024-04-24 18:38:31 +02:00
dependabot[bot]
12e102a4a7 Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-17 11:15:45 +01: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
f4f50748d7 Remove romfs usage 2023-11-17 11:15:05 +01:00
Maschell
98a137c91f Create dependabot.yml 2023-07-23 10:11:56 +02:00
Maschell
ef29402e54 Bump version 2023-07-19 19:22:17 +02:00
Maschell
473b3bfb94 Update Dockerfile 2023-07-19 16:18:27 +02:00
Maschell
b719da914d Update Dockerfile 2023-07-14 20:41:40 +02:00
Maschell
9e7299b65a Add missing imports 2023-07-14 20:41:40 +02:00
Maschell
96e8ddf97e Fix compiling with latest wut 2023-04-17 14:19:49 +02:00
Maschell
0bfa5be464 Change docker registry to ghcr.io 2023-03-18 16:25:22 +01:00
Maschell
9fc60b3189 Bump version to 0.2.4 2023-01-10 18:15:59 +01:00
Maschell
488df227eb Use the latest libfunctionpatcher version 2023-01-07 10:38:40 +01:00
Maschell
716deafb13 Update the CI to use a non-deprecated release action 2023-01-07 10:26:17 +01:00
Maschell
9f664abc6e Update CI to use actions/checkout@v3 2023-01-07 10:26:17 +01:00
Maschell
8a1c0bdb80 Update Dockerfile to use the latest WUMS version, add dependency to FunctionPatcherModule 2023-01-07 10:26:17 +01:00
Maschell
4300168ea4 Update version string 2022-10-11 15:12:28 +02:00
Maschell
eb0ff82425 Fix CRRemoveFSLayer return value 2022-10-11 14:44:10 +02:00
Maschell
f5266db613 Add support for /vol/aoc redirection 2022-10-10 20:11:57 +02:00
Maschell
8811d7ae0a Improve and fix logging 2022-10-10 20:11:57 +02:00
Maschell
ecd3cc03b2 Add missing FSAInit() call to fix directory merge with parents 2022-10-10 20:11:57 +02:00
Maschell
e46cf2c765 Update version to v0.2.2 2022-10-09 15:45:43 +02:00
Maschell
31045019c1 Improve commit messages for nightlies 2022-10-04 18:49:23 +02:00
Maschell
89c7fc26d8 Prevent calling OSCancelThread for ContentRedirection IO Threads 2022-10-04 18:49:23 +02:00
Maschell
f06f8ecc11 Bump the version 2022-09-19 22:21:40 +02:00
Maschell
ba76c15d1e Log the module version on each application start 2022-09-19 13:19:04 +02: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
7669f0f98a Update Dockerfile 2022-09-04 21:51:38 +02:00
Maschell
3cad13da9f Use ubuntu-22.04 instead of ubuntu-18.04 2022-09-04 18:44:06 +02:00
Maschell
18d97f8bd9 Add LICENSE 2022-09-04 18:44:06 +02:00
Maschell
34d9fbeb2f Update CRGetVersion 2022-09-04 18:44:06 +02:00
Maschell
cf51d1f724 Implement support for redirecting FSA function 2022-08-09 16:14:09 +02:00
Maschell
78ccbd0369 Improve setting the CWD for client, at basic error handling 2022-08-09 16:14:09 +02:00
Maschell
031ad15133 Fallback to "/" when no CWD for a given client was found 2022-08-09 16:14:09 +02:00
Maschell
db108068e4 Hook into FSAWriteFileWithPos to log usage, improve existing logging. 2022-08-09 16:14:09 +02:00
Maschell
61381fbb65 Rename void setWorkingDir -> setWorkingDirForFSClient and getFullPathForClient -> getFullPathForFSClient 2022-08-09 16:14:09 +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
ce9ebde9ce Minor code cleanup 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
f420d5edad Add support for FSOpenFileEx(Async) 2022-08-06 22:47:11 +02:00
Maschell
487d1589f5 Add missing const to paths in function replacements 2022-08-06 22:47:11 +02:00
Maschell
72861fcd7f Update Dockerfile to use latest wut version 2022-07-25 13:12:10 -07:00
Maschell
8b7c53f991 Update Dockerfile to use latest WUMS version 2022-05-13 00:29:35 +02:00
Maschell
f3f6fae798 Use the latest libfunctionpatcher 2022-05-08 20:37:13 +02:00