Skip to content

Commit

Permalink
Merge pull request #126 from uyjulian/size_reduction_launcher_fix
Browse files Browse the repository at this point in the history
[NFC] fix: use current set of size reduction functions for loader
  • Loading branch information
uyjulian authored Aug 31, 2024
2 parents aa7be34 + ac70a8f commit 8847717
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions loader/loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include "string.h"
#include "iopheap.h"
#include "errno.h"
#include "ps2sdkapi.h"
//--------------------------------------------------------------

//--------------------------------------------------------------
Expand All @@ -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
Expand Down

0 comments on commit 8847717

Please sign in to comment.