mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
Minor stylistic fixes for clarity and consistency with the rest of
RetroArch.
This commit is contained in:
parent
b1a2e096e5
commit
9bc78d25a0
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user