mirror of
https://github.com/libretro/RetroArch
synced 2025-02-20 15:40:44 +00:00
Cleanup warnings
This commit is contained in:
parent
a73f91e68a
commit
f5566cbe3b
@ -638,7 +638,8 @@ static void handle_hotplug(android_input_t *android,
|
||||
*port = 0;
|
||||
strlcpy(name_buf, device_name, sizeof(name_buf));
|
||||
}
|
||||
else if (strstr(device_name, "Virtual") || strstr(device_name, "gpio") && strstr(android->pad_states[0].name,"NVIDIA Corporation NVIDIA Controller v01.01"))
|
||||
else if (strstr(device_name, "Virtual") ||
|
||||
(strstr(device_name, "gpio") && strstr(android->pad_states[0].name,"NVIDIA Corporation NVIDIA Controller v01.01")))
|
||||
{
|
||||
/* If built-in shield controller is detected bind the virtual and gpio devices to the same port*/
|
||||
*port = 0;
|
||||
|
@ -532,7 +532,7 @@ static void glui_font(menu_handle_t *menu)
|
||||
static void glui_layout(menu_handle_t *menu, glui_handle_t *glui)
|
||||
{
|
||||
menu_display_t *disp = menu_display_get_ptr();
|
||||
float scale_factor, glyph_width;
|
||||
float scale_factor;
|
||||
unsigned width, height;
|
||||
video_driver_get_size(&width, &height);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user