mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 14:59:37 +00:00
(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)
|
||||
return;
|
||||
|
||||
(void)driver;
|
||||
|
||||
pretro_set_video_refresh(video_frame);
|
||||
pretro_set_audio_sample(audio_sample);
|
||||
pretro_set_audio_sample_batch(audio_sample_batch);
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user