mirror of
https://github.com/wiiu-env/PayloadLoaderPayload.git
synced 2024-11-13 05:35:06 +01:00
Overwrite wuts __syscall_getreent
This commit is contained in:
parent
093ef7aa92
commit
4309e62aaa
@ -59,6 +59,7 @@ IMPORT(OSGetThreadSpecific);
|
||||
IMPORT(OSSetThreadSpecific);
|
||||
IMPORT(OSReport);
|
||||
IMPORT(OSSwapAtomic);
|
||||
IMPORT(OSIsDebuggerPresent);
|
||||
|
||||
IMPORT(exit);
|
||||
IMPORT(_Exit);
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user