[Gamecube/Wii] fixed compilation issue with GCC 10.x used in devkitPPC r37 and later

This commit is contained in:
ekeeke 2020-09-18 01:34:26 +02:00
parent c718b1f3f2
commit a8d15733fb
2 changed files with 8 additions and 4 deletions

View File

@ -3,7 +3,7 @@
* *
* generic GUI Engine (using GX rendering) * generic GUI Engine (using GX rendering)
* *
* Copyright Eke-Eke (2009-2019) * Copyright Eke-Eke (2009-2020)
* *
* Redistribution and use of this code or any derivative works are permitted * Redistribution and use of this code or any derivative works are permitted
* provided that the following conditions are met: * provided that the following conditions are met:
@ -45,6 +45,8 @@
gx_texture *w_pointer; gx_texture *w_pointer;
#endif #endif
gui_input m_input;
u8 SILENT = 0; u8 SILENT = 0;
/* message box */ /* message box */

View File

@ -3,7 +3,7 @@
* *
* generic GUI Engine (using GX rendering) * generic GUI Engine (using GX rendering)
* *
* Copyright Eke-Eke (2009-2019) * Copyright Eke-Eke (2009-2020)
* *
* Redistribution and use of this code or any derivative works are permitted * Redistribution and use of this code or any derivative works are permitted
* provided that the following conditions are met: * provided that the following conditions are met:
@ -149,13 +149,15 @@ typedef struct
} gui_message; } gui_message;
/* Menu inputs */ /* Menu inputs */
struct t_input_menu typedef struct
{ {
u16 keys; u16 keys;
#ifdef HW_RVL #ifdef HW_RVL
struct ir_t ir; struct ir_t ir;
#endif #endif
} m_input; } gui_input;
extern gui_input m_input;
/* Optionbox callback */ /* Optionbox callback */
typedef void (*optioncallback)(void); typedef void (*optioncallback)(void);