mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 18:40:09 +00:00
Cleanups
This commit is contained in:
parent
6b854f8766
commit
8486c8ebfb
@ -477,12 +477,10 @@ bool netplay_resolve_input(netplay_t *netplay, size_t sim_ptr, bool resim)
|
||||
/* Most devices have all the digital parts in the first word. */
|
||||
static const uint32_t digital_common[3] = {~0u, 0u, 0u};
|
||||
static const uint32_t digital_keyboard[5] = {~0u, ~0u, ~0u, ~0u, ~0u};
|
||||
const uint32_t *digital = NULL;
|
||||
const uint32_t *digital = digital_common;
|
||||
|
||||
if (dtype == RETRO_DEVICE_KEYBOARD)
|
||||
digital = digital_keyboard;
|
||||
else
|
||||
digital = digital_common;
|
||||
|
||||
oldresstate = netplay_input_state_for(
|
||||
&simframe->resolved_input[device], 1, dsize, false, false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user