Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compiling/compability with latest wut #13

Merged
merged 2 commits into from
Apr 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
FROM ghcr.io/wiiu-env/devkitppc:20230417
FROM ghcr.io/wiiu-env/devkitppc:20230621

WORKDIR project
1 change: 1 addition & 0 deletions src/imports.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ IMPORT(OSGetThreadSpecific);
IMPORT(OSSetThreadSpecific);
IMPORT(OSReport);
IMPORT(OSSwapAtomic);
IMPORT(OSIsDebuggerPresent);

IMPORT(exit);
IMPORT(_Exit);
Expand Down
4 changes: 4 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
Loading