(GX) Buildfix/warning fix
This commit is contained in:
parent
1e9725a302
commit
aa8e5bc8cf
|
@ -675,6 +675,8 @@ void retro_init_libretro_cbs(void *data)
|
||||||
if (!cbs)
|
if (!cbs)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
(void)driver;
|
||||||
|
|
||||||
pretro_set_video_refresh(video_frame);
|
pretro_set_video_refresh(video_frame);
|
||||||
pretro_set_audio_sample(audio_sample);
|
pretro_set_audio_sample(audio_sample);
|
||||||
pretro_set_audio_sample_batch(audio_sample_batch);
|
pretro_set_audio_sample_batch(audio_sample_batch);
|
||||||
|
|
|
@ -355,6 +355,9 @@ static void rgui_render(void)
|
||||||
const char *core_version = NULL;
|
const char *core_version = NULL;
|
||||||
menu_handle_t *menu = menu_driver_resolve();
|
menu_handle_t *menu = menu_driver_resolve();
|
||||||
runloop_t *runloop = rarch_main_get_ptr();
|
runloop_t *runloop = rarch_main_get_ptr();
|
||||||
|
driver_t *driver = driver_get_ptr();
|
||||||
|
|
||||||
|
(void)driver;
|
||||||
|
|
||||||
if (!menu)
|
if (!menu)
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -888,6 +888,8 @@ static void init_cheats(void)
|
||||||
driver_t *driver = driver_get_ptr();
|
driver_t *driver = driver_get_ptr();
|
||||||
bool allow_cheats = true;
|
bool allow_cheats = true;
|
||||||
|
|
||||||
|
(void)driver;
|
||||||
|
|
||||||
#ifdef HAVE_NETPLAY
|
#ifdef HAVE_NETPLAY
|
||||||
allow_cheats &= !driver->netplay_data;
|
allow_cheats &= !driver->netplay_data;
|
||||||
#endif
|
#endif
|
||||||
|
@ -904,6 +906,8 @@ static void init_rewind(void)
|
||||||
void *state = NULL;
|
void *state = NULL;
|
||||||
driver_t *driver = driver_get_ptr();
|
driver_t *driver = driver_get_ptr();
|
||||||
|
|
||||||
|
(void)driver;
|
||||||
|
|
||||||
#ifdef HAVE_NETPLAY
|
#ifdef HAVE_NETPLAY
|
||||||
if (driver->netplay_data)
|
if (driver->netplay_data)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue