From ac70a8fced422416a53f5f59c98a9748fa9956ca Mon Sep 17 00:00:00 2001 From: Julian Uy Date: Sat, 31 Aug 2024 06:51:26 -0500 Subject: [PATCH] fix: use current set of size reduction functions for loader --- loader/loader.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/loader/loader.c b/loader/loader.c index 4c615a2c..2238421e 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -34,6 +34,7 @@ #include "string.h" #include "iopheap.h" #include "errno.h" +#include "ps2sdkapi.h" //-------------------------------------------------------------- //-------------------------------------------------------------- @@ -42,8 +43,13 @@ // DON'T REMOVE is for reducing binary size. // These funtios are defined as weak in /libc/src/init.c //-------------------------------------------------------------- -void _ps2sdk_libc_init() {} -void _ps2sdk_libc_deinit() {} +void _libcglue_init() {} +void _libcglue_deinit() {} +void _libcglue_args_parse(int argc, char **argv) {} + +DISABLE_PATCHED_FUNCTIONS(); +DISABLE_EXTRA_TIMERS_FUNCTIONS(); +PS2_DISABLE_AUTOSTART_PTHREAD(); //-------------------------------------------------------------- // End of data declarations