mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Build fix for non-HAVE_NETPLAY
This commit is contained in:
parent
060ce68405
commit
de130dd516
@ -919,7 +919,6 @@ static void lakka_context_reset(void *data)
|
||||
int i, j, k;
|
||||
char mediapath[256], themepath[256], iconpath[256];
|
||||
menu_handle_t *menu = (menu_handle_t*)data;
|
||||
gl_t *gl = (gl_t*)driver_video_resolve(NULL);
|
||||
|
||||
if (!menu)
|
||||
return;
|
||||
@ -1169,7 +1168,6 @@ static void lakka_init_core_info(void *data)
|
||||
|
||||
static void *lakka_init(void)
|
||||
{
|
||||
int i;
|
||||
menu_handle_t *menu;
|
||||
const video_driver_t *video_driver = NULL;
|
||||
gl_t *gl = (gl_t*)driver_video_resolve(&video_driver);
|
||||
|
@ -2600,11 +2600,13 @@ bool rarch_main_command(unsigned cmd)
|
||||
#endif
|
||||
break;
|
||||
case RARCH_CMD_NETPLAY_FLIP_PLAYERS:
|
||||
#ifdef HAVE_NETPLAY
|
||||
{
|
||||
netplay_t *netplay = (netplay_t*)driver.netplay_data;
|
||||
if (netplay)
|
||||
netplay_flip_players(netplay);
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
case RARCH_CMD_FULLSCREEN_TOGGLE:
|
||||
if (!driver.video)
|
||||
|
Loading…
x
Reference in New Issue
Block a user