Commit Graph

67 Commits

Author SHA1 Message Date
Maschell
884a3561d2 Replace FSWriteFile and FSReadFile only for the game/menu process 2024-04-28 18:20:19 +02:00
Maschell
f9a4b537c8 Skip stat if _DIRENT_HAVE_D_STAT is set 2024-04-28 15:31:48 +02:00
Maschell
835881abfa Add support for FS_LAYER_TYPE_SAVE_REPLACE_FOR_CURRENT_USER 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
0d5bf8c78f Update Dockerfiles to use latest devkitPPC and wut 2024-04-24 18:38:31 +02:00
Maschell
9d0dbda1db Bump version to 0.2.6 2024-04-24 18:38:31 +02:00
Maschell
75854a05e5 Update .gitignore to ignore .zip files 2024-04-24 18:38:31 +02:00
dependabot[bot]
6c2748569d Bump softprops/action-gh-release from 1 to 2
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 1 to 2.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v1...v2)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-24 18:38:31 +02:00
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