Minor stylistic fixes for clarity and consistency with the rest of

RetroArch.
This commit is contained in:
Gregor Richards 2016-09-14 10:06:57 -04:00
parent b1a2e096e5
commit 9bc78d25a0
2 changed files with 6 additions and 2 deletions

View File

@ -378,7 +378,7 @@ static void simulate_input(netplay_t *netplay)
sizeof(netplay->buffer[prev].real_input_state));
}
#define MAX_STALL_TIME_USEC 10000000
#define MAX_STALL_TIME_USEC (10*1000*1000)
/**
* netplay_poll:
@ -521,7 +521,9 @@ static int16_t netplay_input_state(netplay_t *netplay,
curr_input_state = netplay->buffer[ptr].real_input_state;
}
else
{
curr_input_state = netplay->buffer[ptr].simulated_input_state;
}
}
switch (device)

View File

@ -127,7 +127,9 @@ static void netplay_net_post_frame(netplay_t *netplay)
{
netplay->other_ptr = netplay->read_ptr;
netplay->other_frame_count = netplay->read_frame_count;
} else {
}
else
{
netplay->other_ptr = netplay->self_ptr;
netplay->other_frame_count = netplay->self_frame_count;
}