mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-19 09:02:26 +00:00
Initialize parport pin report buffer
This commit is contained in:
parent
8a9593cd3a
commit
68dc27eea5
@ -224,6 +224,8 @@ static bool parport_joypad_init(void)
|
||||
char buf[NUM_BUTTONS * 3 + 1];
|
||||
char pin[3 + 1];
|
||||
|
||||
memset(buf, 0, NUM_BUTTONS * 3 + 1);
|
||||
|
||||
for (i = 0; i < MAX_PLAYERS; i++)
|
||||
{
|
||||
struct parport_joypad *pad = &g_pads[i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user