platform ps2, fixes for gcc14

This commit is contained in:
kub 2024-05-20 10:07:42 +02:00
parent c055f15cd5
commit 257baf1520
5 changed files with 11 additions and 8 deletions

View file

@ -5,6 +5,7 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <malloc.h>
#include "libpad.h"
#include "libmtap.h"
@ -21,7 +22,7 @@
static int in_ps2_combo_keys = 0;
static int in_ps2_combo_acts = 0;
static uintptr_t padBuf[2][4];
static void *padBuf[2][4];
static uint32_t padConnected[2][4]; // 2 ports, 4 slots
static uint32_t padOpen[2][4];
static uint32_t maxslot[2];