mirror of
https://github.com/libretro/RetroArch
synced 2025-02-19 12:41:00 +00:00
(network) Turn some functions into static functions
This commit is contained in:
parent
013117318c
commit
4c95d1af4e
@ -990,7 +990,7 @@ static void netplay_frontend_paused(netplay_t *netplay, bool paused)
|
||||
* Returns: true (1) if the frontend is cleared to emulate the frame, false (0)
|
||||
* if we're stalled or paused
|
||||
**/
|
||||
bool netplay_pre_frame(netplay_t *netplay)
|
||||
static bool netplay_pre_frame(netplay_t *netplay)
|
||||
{
|
||||
bool sync_stalled = false;
|
||||
settings_t *settings = config_get_ptr();
|
||||
@ -1071,7 +1071,7 @@ bool netplay_pre_frame(netplay_t *netplay)
|
||||
* We check if we have new input and replay from recorded input.
|
||||
* Call this after running retro_run().
|
||||
**/
|
||||
void netplay_post_frame(netplay_t *netplay)
|
||||
static void netplay_post_frame(netplay_t *netplay)
|
||||
{
|
||||
size_t i;
|
||||
retro_assert(netplay);
|
||||
@ -1147,7 +1147,7 @@ static void netplay_force_future(netplay_t *netplay)
|
||||
* Send a loaded savestate to those connected peers using the given compression
|
||||
* scheme.
|
||||
*/
|
||||
void netplay_send_savestate(netplay_t *netplay,
|
||||
static void netplay_send_savestate(netplay_t *netplay,
|
||||
retro_ctx_serialize_info_t *serial_info, uint32_t cx,
|
||||
struct compression_transcoder *z)
|
||||
{
|
||||
@ -1288,7 +1288,8 @@ static void netplay_core_reset(netplay_t *netplay)
|
||||
*
|
||||
* Get the preferred share mode
|
||||
*/
|
||||
uint8_t netplay_settings_share_mode(unsigned share_digital, unsigned share_analog)
|
||||
uint8_t netplay_settings_share_mode(unsigned share_digital,
|
||||
unsigned share_analog)
|
||||
{
|
||||
if (share_digital || share_analog)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user