(Menu) Avoid warnings with SNC compiler
This commit is contained in:
parent
bbf7335bd3
commit
3d016bd5bc
|
@ -1376,6 +1376,7 @@ bool menu_iterate(void)
|
||||||
static bool first_held = false;
|
static bool first_held = false;
|
||||||
uint64_t input_state = 0;
|
uint64_t input_state = 0;
|
||||||
int input_entry_ret = 0;
|
int input_entry_ret = 0;
|
||||||
|
int ret;
|
||||||
|
|
||||||
if (g_extern.lifecycle_state & (1ULL << MODE_MENU_PREINIT))
|
if (g_extern.lifecycle_state & (1ULL << MODE_MENU_PREINIT))
|
||||||
{
|
{
|
||||||
|
@ -1468,7 +1469,7 @@ bool menu_iterate(void)
|
||||||
driver.video_poke->set_texture_enable(driver.video_data, false,
|
driver.video_poke->set_texture_enable(driver.video_data, false,
|
||||||
MENU_TEXTURE_FULLSCREEN);
|
MENU_TEXTURE_FULLSCREEN);
|
||||||
|
|
||||||
int ret = rgui_input_postprocess(rgui, rgui->old_input_state);
|
ret = rgui_input_postprocess(rgui, rgui->old_input_state);
|
||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -68,7 +68,6 @@ static void render_background(rgui_handle_t *rgui)
|
||||||
|
|
||||||
static void rgui_render_messagebox(void *data, const char *message)
|
static void rgui_render_messagebox(void *data, const char *message)
|
||||||
{
|
{
|
||||||
rgui_handle_t *rgui = (rgui_handle_t*)data;
|
|
||||||
font_params_t font_parms;
|
font_params_t font_parms;
|
||||||
|
|
||||||
size_t i, j;
|
size_t i, j;
|
||||||
|
@ -420,8 +419,6 @@ static void *rgui_init(void)
|
||||||
|
|
||||||
static void rgui_free(void *data)
|
static void rgui_free(void *data)
|
||||||
{
|
{
|
||||||
rgui_handle_t *rgui = (rgui_handle_t*)data;
|
|
||||||
|
|
||||||
#ifdef _XBOX1
|
#ifdef _XBOX1
|
||||||
if (menu_panel->vertex_buf)
|
if (menu_panel->vertex_buf)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue