mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Buildfixes for Android and Wayland
This commit is contained in:
parent
963bb92f95
commit
4d305bf3e8
@ -24,6 +24,7 @@
|
||||
#include <dynamic/dylib.h>
|
||||
#include <retro_inline.h>
|
||||
#include <string/stdstring.h>
|
||||
#include <retro_miscellaneous.h>
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "../../config.h"
|
||||
@ -931,7 +932,7 @@ static bool is_configured_as_physical_keyboard(int vendor_id, int product_id, co
|
||||
bool compare_by_id;
|
||||
int keyboard_vendor_id;
|
||||
int keyboard_product_id;
|
||||
char keyboard_name[sizeof(settings->arrays.input_android_physical_keyboard)];
|
||||
char keyboard_name[256];
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
if (sscanf(settings->arrays.input_android_physical_keyboard, "%04x:%04x ", &keyboard_vendor_id, &keyboard_product_id) != 2)
|
||||
|
@ -42,6 +42,7 @@
|
||||
#include "../common/wayland_common.h"
|
||||
|
||||
#include "../../retroarch.h"
|
||||
#include "../../verbosity.h"
|
||||
|
||||
/* TODO/FIXME -
|
||||
* fix game focus toggle */
|
||||
@ -312,7 +313,7 @@ static int16_t input_wl_state(
|
||||
res_x = res_screen_x;
|
||||
res_y = res_screen_y;
|
||||
}
|
||||
return ((res_x >= -0x7fff) && (res_y >= -0x7fff)) /* Inside? */
|
||||
if ((res_x >= -0x7fff) && (res_y >= -0x7fff)) /* Inside? */
|
||||
return res_x;
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user