Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Commit

Permalink
Replace usage of libkernel-nopatch with libkernel and strong symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
uyjulian authored and citronalco committed Nov 16, 2023
1 parent 44473bb commit 6b29e28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ee_core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ ifeq ($(PADEMU),1)
EE_CFLAGS += -DPADEMU
endif

EE_LIBS += -lkernel-nopatch -lgcc
EE_LIBS += -lkernel -lgcc

$(EE_OBJS_DIR)%.o : $(EE_SRC_DIR)%.c
@mkdir -p $(EE_OBJS_DIR)
Expand Down
7 changes: 7 additions & 0 deletions ee_core/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ int PadMacroSettings;
int EnableDebug;
int *gCheatList; // Store hooks/codes addr+val pairs

// This function is defined as weak in ps2sdkc, so how
// we are not using time zone, so we can safe some KB
void _ps2sdk_timezone_update() {}

DISABLE_PATCHED_FUNCTIONS(); // Disable the patched functionalities
DISABLE_EXTRA_TIMERS_FUNCTIONS(); // Disable the extra functionalities for timers

static int eecoreInit(int argc, char **argv)
{
int i = 0;
Expand Down

0 comments on commit 6b29e28

Please sign in to comment.