mirror of
https://github.com/wiiu-env/PayloadLoaderPayload.git
synced 2024-11-14 06:05:04 +01:00
Overwrite wuts __syscall_getreent
This commit is contained in:
parent
093ef7aa92
commit
4309e62aaa
@ -59,6 +59,7 @@ IMPORT(OSGetThreadSpecific);
|
|||||||
IMPORT(OSSetThreadSpecific);
|
IMPORT(OSSetThreadSpecific);
|
||||||
IMPORT(OSReport);
|
IMPORT(OSReport);
|
||||||
IMPORT(OSSwapAtomic);
|
IMPORT(OSSwapAtomic);
|
||||||
|
IMPORT(OSIsDebuggerPresent);
|
||||||
|
|
||||||
IMPORT(exit);
|
IMPORT(exit);
|
||||||
IMPORT(_Exit);
|
IMPORT(_Exit);
|
||||||
|
@ -90,6 +90,10 @@ extern "C" uint32_t start_wrapper(int argc, char **argv) {
|
|||||||
return entryPoint;
|
return entryPoint;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
extern "C" struct _reent *__syscall_getreent(void) {
|
||||||
|
return _impure_ptr;
|
||||||
|
}
|
||||||
|
|
||||||
extern "C" int _start(int argc, char **argv) {
|
extern "C" int _start(int argc, char **argv) {
|
||||||
uint32_t entryPoint = start_wrapper(argc, argv);
|
uint32_t entryPoint = start_wrapper(argc, argv);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user