From 45f808d00c154363caca084ad3d011f06648bb81 Mon Sep 17 00:00:00 2001 From: Themaister Date: Thu, 20 Dec 2012 12:54:54 +0100 Subject: [PATCH] Change hardcoded path. --- input/overlay.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/input/overlay.c b/input/overlay.c index 8be10d3b8e..2039b6bfd3 100644 --- a/input/overlay.c +++ b/input/overlay.c @@ -47,7 +47,7 @@ input_overlay_t *input_overlay_new(const char *overlay) // Test hardcoded. struct texture_image img = {0}; - if (!texture_image_load("/tmp/test.png", &img)) + if (!texture_image_load("/tmp/basic_overlay.png", &img)) { RARCH_ERR("Failed to load overlay image.\n"); goto error; @@ -88,7 +88,7 @@ static const struct overlay_desc descs[] = { { 91.0 / 256.0, 168.0 / 256.0, 10.0 / 256.0, RETRO_DEVICE_ID_JOYPAD_SELECT }, { 134.0 / 256.0, 168.0 / 256.0, 10.0 / 256.0, RETRO_DEVICE_ID_JOYPAD_START }, - { 200.0 / 256.0, 237.0 / 256.0, 15.0 / 256.0, RETRO_DEVICE_ID_JOYPAD_B}, + { 200.0 / 256.0, 237.0 / 256.0, 15.0 / 256.0, RETRO_DEVICE_ID_JOYPAD_B }, { 234.0 / 256.0, 210.0 / 256.0, 15.0 / 256.0, RETRO_DEVICE_ID_JOYPAD_A }, { 200.0 / 256.0, 180.0 / 256.0, 15.0 / 256.0, RETRO_DEVICE_ID_JOYPAD_X }, { 163.0 / 256.0, 210.0 / 256.0, 15.0 / 256.0, RETRO_DEVICE_ID_JOYPAD_Y }, @@ -113,7 +113,7 @@ uint64_t input_overlay_poll(input_overlay_t *ol, int16_t norm_x, int16_t norm_y) void input_overlay_next(input_overlay_t *ol) { - // Dummy + // Dummy. Useful when we have configs and multiple overlays. (void)ol; }