[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)
*
* Copyright Eke-Eke (2009-2019)
* Copyright Eke-Eke (2009-2020)
*
* Redistribution and use of this code or any derivative works are permitted
* provided that the following conditions are met:
@ -45,6 +45,8 @@
gx_texture *w_pointer;
#endif
gui_input m_input;
u8 SILENT = 0;
/* message box */

View File

@ -3,7 +3,7 @@
*
* 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
* provided that the following conditions are met:
@ -149,13 +149,15 @@ typedef struct
} gui_message;
/* Menu inputs */
struct t_input_menu
typedef struct
{
u16 keys;
#ifdef HW_RVL
struct ir_t ir;
#endif
} m_input;
} gui_input;
extern gui_input m_input;
/* Optionbox callback */
typedef void (*optioncallback)(void);