mirror of
https://github.com/wiiu-env/CustomRPXLoader.git
synced 2024-11-21 17:39:16 +01:00
Update Dockerfile to use latest wut version
This commit is contained in:
parent
2288b67703
commit
2409afa86a
@ -1,3 +1,3 @@
|
||||
FROM wiiuenv/devkitppc:20220213
|
||||
FROM wiiuenv/devkitppc:20220728
|
||||
|
||||
WORKDIR project
|
@ -59,6 +59,7 @@ IMPORT(OSCompareAndSwapAtomic);
|
||||
IMPORT(OSGetThreadSpecific);
|
||||
IMPORT(OSSetThreadSpecific);
|
||||
IMPORT(FSTimeToCalendarTime);
|
||||
IMPORT(OSIsDebuggerInitialized);
|
||||
|
||||
IMPORT(exit);
|
||||
IMPORT(_Exit);
|
||||
@ -94,6 +95,7 @@ IMPORT(FSGetFreeSpaceSize);
|
||||
IMPORT(FSGetStat);
|
||||
IMPORT(FSRemove);
|
||||
IMPORT(FSOpenFile);
|
||||
IMPORT(FSOpenFileEx);
|
||||
IMPORT(FSCloseFile);
|
||||
IMPORT(FSOpenDir);
|
||||
IMPORT(FSMakeDir);
|
||||
|
@ -66,9 +66,12 @@ bool CheckRunning() {
|
||||
|
||||
extern "C" void __init_wut();
|
||||
extern "C" void __fini_wut();
|
||||
extern "C" void __init_wut_malloc();
|
||||
|
||||
extern "C" int _start(int argc, char **argv) __attribute__((section(".start_code")));
|
||||
extern "C" int _start(int argc, char **argv) {
|
||||
// We need to call __init_wut_malloc somewhere so wut_malloc will be used for the memory allocation.
|
||||
__init_wut_malloc();
|
||||
doKernelSetup();
|
||||
InitFunctionPointers();
|
||||
doKernelSetup2();
|
||||
|
Loading…
Reference in New Issue
Block a user