From cc4f9b703ba166301a31ef6c695e1d02572e6bc4 Mon Sep 17 00:00:00 2001 From: notaz Date: Mon, 10 Dec 2012 18:42:13 +0200 Subject: [PATCH 1/1] libretro: minor cleanups --- frontend/libretro.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/libretro.c b/frontend/libretro.c index 8256fe18..bdcf519b 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -83,7 +83,7 @@ static void vout_set_mode(int w, int h, int raw_w, int raw_h, int bpp) { } -#ifdef FRONTEND_SUPPORTS_RGB565 +#ifndef FRONTEND_SUPPORTS_RGB565 static void convert(void *buf, size_t bytes) { unsigned int i, v, *p = buf; @@ -129,12 +129,12 @@ static void vout_flip(const void *vram, int stride, int bgr24, int w, int h) out: #ifndef FRONTEND_SUPPORTS_RGB565 - convert(vout_buf, w * h * 2); + convert(vout_buf, w * h * 2); #endif - game_width = w; - game_height = h; - game_fb_dirty = 1; - pl_rearmed_cbs.flip_cnt++; + game_width = w; + game_height = h; + game_fb_dirty = 1; + pl_rearmed_cbs.flip_cnt++; } static void vout_close(void) -- 2.39.2