mirror of
https://github.com/wiiu-env/PayloadLoaderPayload.git
synced 2024-12-27 01:31:48 +01:00
Overwrite wuts __syscall_getreent
This commit is contained in:
parent
8b6b5c3412
commit
162119a289
@ -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