From 2ef75cb300742fef461d7980ab2b948aa28b93bb Mon Sep 17 00:00:00 2001 From: radius Date: Fri, 4 Aug 2017 00:50:23 -0500 Subject: [PATCH] buildfix --- gfx/drivers/gl_shaders/pipeline_bokeh.glsl.frag.h | 2 +- input/drivers/android_input.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gfx/drivers/gl_shaders/pipeline_bokeh.glsl.frag.h b/gfx/drivers/gl_shaders/pipeline_bokeh.glsl.frag.h index 9a88c64fb0..4bba0f339c 100644 --- a/gfx/drivers/gl_shaders/pipeline_bokeh.glsl.frag.h +++ b/gfx/drivers/gl_shaders/pipeline_bokeh.glsl.frag.h @@ -11,7 +11,7 @@ static const char* stock_fragment_xmb_bokeh = GLSL( uv.x *= OutputSize.x / OutputSize.y; vec3 color = vec3(0.0); - for( int i=0; i < 48; i++ ) + for( int i=0; i < 8; i++ ) { float pha = sin(float(i) * 546.13 + 1.0) * 0.5 + 0.5; float siz = pow(sin(float(i) * 651.74 + 5.0) * 0.5 + 0.5, 4.0); diff --git a/input/drivers/android_input.c b/input/drivers/android_input.c index a0b38f66b9..18f945bb2e 100644 --- a/input/drivers/android_input.c +++ b/input/drivers/android_input.c @@ -1078,7 +1078,7 @@ static void handle_hotplug(android_input_t *android, RARCH_LOG("Special Device Detected: %s\n", device_model); { /* always map remote to port #0 */ - if (strstr(device_name, "Amazon Fire TV Remote") + if (strstr(device_name, "Amazon Fire TV Remote")) { android->pads_connected = 0; *port = 0; @@ -1093,6 +1093,7 @@ static void handle_hotplug(android_input_t *android, } else strlcpy(name_buf, device_name, sizeof(name_buf)); + } } /* Other uncommon devices