mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Merge pull request #12976 from grant2258/mouse_index
this function is called more than once dont use static
This commit is contained in:
commit
e24440d4a9
@ -1228,8 +1228,8 @@ static bool open_devices(udev_input_t *udev,
|
||||
struct udev_list_entry *devs = NULL;
|
||||
struct udev_list_entry *item = NULL;
|
||||
struct udev_enumerate *enumerate = udev_enumerate_new(udev->udev);
|
||||
static int device_keyboard = 0;
|
||||
static int device_mouse = 0;
|
||||
int device_keyboard = 0;
|
||||
int device_mouse = 0;
|
||||
if (!enumerate)
|
||||
return false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user