From 093ef7aa92d3c05bd2305f44845a595165c97d73 Mon Sep 17 00:00:00 2001 From: Maschell Date: Tue, 27 Jun 2023 18:28:19 +0200 Subject: [PATCH 1/3] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ecb78ff..2c69585 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ -FROM ghcr.io/wiiu-env/devkitppc:20230417 +FROM ghcr.io/wiiu-env/devkitppc:20230621 WORKDIR project \ No newline at end of file From 4309e62aaa9f01bdadb06510a37e43a25d22ebdb Mon Sep 17 00:00:00 2001 From: Maschell Date: Sat, 20 Apr 2024 09:13:20 +0200 Subject: [PATCH 2/3] Overwrite wuts __syscall_getreent --- src/imports.h | 1 + src/main.cpp | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/imports.h b/src/imports.h index b5bf0c4..7eff504 100644 --- a/src/imports.h +++ b/src/imports.h @@ -59,6 +59,7 @@ IMPORT(OSGetThreadSpecific); IMPORT(OSSetThreadSpecific); IMPORT(OSReport); IMPORT(OSSwapAtomic); +IMPORT(OSIsDebuggerPresent); IMPORT(exit); IMPORT(_Exit); diff --git a/src/main.cpp b/src/main.cpp index 89c3df7..c595a2c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -90,6 +90,10 @@ extern "C" uint32_t start_wrapper(int argc, char **argv) { return entryPoint; } +extern "C" struct _reent *__syscall_getreent(void) { + return _impure_ptr; +} + extern "C" int _start(int argc, char **argv) { uint32_t entryPoint = start_wrapper(argc, argv); From 5fd6cda9d7ce26893afe8d9db2adca8f5a60eade Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Sep 2023 12:36:38 +0000 Subject: [PATCH 3/3] Bump actions/checkout from 2 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 2 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/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pr.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 43a2ea4..5481890 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ jobs: clang-format: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: clang-format run: | docker run --rm -v ${PWD}:/src ghcr.io/wiiu-env/clang-format:13.0.0-2 -r ./src @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-22.04 needs: clang-format steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: build binary run: | docker build . -t builder diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index a24c01e..42a7267 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -6,7 +6,7 @@ jobs: clang-format: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: clang-format run: | docker run --rm -v ${PWD}:/src ghcr.io/wiiu-env/clang-format:13.0.0-2 -r ./src @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-22.04 needs: clang-format steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: build binary run: | docker build . -t builder