From 0d7ba02f7e8b6ecad9487dfee3f208d8b5f275fd Mon Sep 17 00:00:00 2001 From: Francisco Javier Trujillo Mata Date: Tue, 20 May 2025 15:45:41 +0200 Subject: [PATCH] Some changes to make it to compile with GCC 15 --- ee/cmdHandler.h | 4 ++-- iop/cmdHandler.h | 4 ++-- iop/ps2link.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ee/cmdHandler.h b/ee/cmdHandler.h index f36e516..c860132 100644 --- a/ee/cmdHandler.h +++ b/ee/cmdHandler.h @@ -8,7 +8,7 @@ */ #ifndef CMD_HANDLER_H -#define CMD_HANDLER +#define CMD_HANDLER_H int initCmdRpc(void); void pkoReset(void); @@ -16,4 +16,4 @@ void pkoReset(void); extern int userThreadID; extern int excepscrdump; -#endif /* CMD_HANDLER */ \ No newline at end of file +#endif /* CMD_HANDLER_H */ \ No newline at end of file diff --git a/iop/cmdHandler.h b/iop/cmdHandler.h index 47c27e5..b00b000 100644 --- a/iop/cmdHandler.h +++ b/iop/cmdHandler.h @@ -8,11 +8,11 @@ */ #ifndef CMD_HANDLER_H -#define CMD_HANDLER +#define CMD_HANDLER_H extern int excepscrdump; unsigned int pkoSendSifCmd(unsigned int cmd, void *src, unsigned int len); int cmdHandlerInit(void); -#endif /* CMD_HANDLER */ \ No newline at end of file +#endif /* CMD_HANDLER_H */ \ No newline at end of file diff --git a/iop/ps2link.c b/iop/ps2link.c index 558791e..8f82340 100644 --- a/iop/ps2link.c +++ b/iop/ps2link.c @@ -27,7 +27,7 @@ IRX_ID(MODNAME, 1, 8); int _start(int argc, char **argv) { FlushDcache(); - CpuEnableIntr(0); + CpuEnableIntr(); sceCdInit(1); sceCdStop();