mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Merge pull request #1113 from mprobinson/parport-bug
Initialize parport pin report buffer
This commit is contained in:
commit
72f26dfb49
@ -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