(GX) Buildfix/warning fix

This commit is contained in:
twinaphex 2015-03-18 20:31:01 +01:00
parent 1e9725a302
commit aa8e5bc8cf
4 changed files with 11 additions and 0 deletions

View File

@ -675,6 +675,8 @@ void retro_init_libretro_cbs(void *data)
if (!cbs)
return;
(void)driver;
pretro_set_video_refresh(video_frame);
pretro_set_audio_sample(audio_sample);
pretro_set_audio_sample_batch(audio_sample_batch);

View File

@ -355,6 +355,9 @@ static void rgui_render(void)
const char *core_version = NULL;
menu_handle_t *menu = menu_driver_resolve();
runloop_t *runloop = rarch_main_get_ptr();
driver_t *driver = driver_get_ptr();
(void)driver;
if (!menu)
return;

View File

@ -888,6 +888,8 @@ static void init_cheats(void)
driver_t *driver = driver_get_ptr();
bool allow_cheats = true;
(void)driver;
#ifdef HAVE_NETPLAY
allow_cheats &= !driver->netplay_data;
#endif
@ -904,6 +906,8 @@ static void init_rewind(void)
void *state = NULL;
driver_t *driver = driver_get_ptr();
(void)driver;
#ifdef HAVE_NETPLAY
if (driver->netplay_data)
return;

View File

@ -568,6 +568,8 @@ static int do_state_checks(
{
driver_t *driver = driver_get_ptr();
(void)driver;
if (g_runloop.is_idle)
return 1;