Skip to content

Commit 0443c58

Browse files
authored
Merge pull request #1536 from ps2homebrew/iop_gcc15
Fix EE GCC 15
2 parents d6ea835 + e3c2c80 commit 0443c58

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

include/appsupport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ typedef struct
2525
u8 legacy;
2626
} app_info_t;
2727

28-
void appInit();
28+
void appInit(item_list_t *itemList);
2929
item_list_t *appGetObject(int initOnly);
3030
void appPostUpdateCallback(int mode);
3131

include/bdmsupport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ typedef struct
4242
unsigned char ForceRefresh;
4343
} bdm_device_data_t;
4444

45-
void bdmInit();
45+
void bdmInit(item_list_t *itemList);
4646
int bdmFindPartition(char *target, const char *name, int write);
4747
void bdmLoadModules(void);
4848
void bdmLaunchGame(item_list_t *itemList, int id, config_set_t *configSet);

include/hddsupport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void hddFreeHDLGamelist(hdl_games_list_t *game_list);
5959
int hddSetHDLGameInfo(hdl_game_info_t *ginfo);
6060
int hddDeleteHDLGame(hdl_game_info_t *ginfo);
6161

62-
void hddInit();
62+
void hddInit(item_list_t *itemList);
6363
item_list_t *hddGetObject(int initOnly);
6464
void hddLoadModules(void);
6565
void hddLoadSupportModules(void);

src/renderman.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void rmEndFrame(void)
135135
gsKit_TexManager_nextFrame(gsGlobal);
136136
}
137137

138-
static int rmOnVSync(void)
138+
static int rmOnVSync(int cause)
139139
{
140140
if (guiWakeupCount == 0) {
141141
guiWakeupCount = 1;

src/supportbase.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,8 @@ static int scanForISO(char *path, char type, struct game_list_t **glist)
334334

335335
if (MountFD < 0 || GetStartupExecName("iso:/SYSTEM.CNF;1", startup, GAME_STARTUP_MAX - 1) != 0) {
336336
fileXioUmount("iso:");
337-
free(next);
338337
*glist = next->next;
338+
free(next);
339339
continue;
340340
}
341341

0 commit comments

Comments
 (0)