mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Turn runloop_netplay_pause into macro
This commit is contained in:
parent
913a5ba5ba
commit
6a5ce0fce9
@ -1015,13 +1015,12 @@ static enum runloop_state runloop_check_state(
|
||||
return RUNLOOP_STATE_ITERATE;
|
||||
}
|
||||
|
||||
static void runloop_netplay_pause(void)
|
||||
{
|
||||
#ifdef HAVE_NETWORKING
|
||||
/* FIXME: This is an ugly way to tell Netplay this... */
|
||||
netplay_driver_ctl(RARCH_NETPLAY_CTL_PAUSE, NULL);
|
||||
/* FIXME: This is an ugly way to tell Netplay this... */
|
||||
#define runloop_netplay_pause() netplay_driver_ctl(RARCH_NETPLAY_CTL_PAUSE, NULL)
|
||||
#else
|
||||
#define runloop_netplay_pause() ((void)0)
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
* runloop_iterate:
|
||||
|
Loading…
x
Reference in New Issue
Block a user