From: notaz Date: Mon, 10 Dec 2012 16:42:13 +0000 (+0200) Subject: libretro: minor cleanups X-Git-Tag: r18~49^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=commitdiff_plain;h=cc4f9b703ba166301a31ef6c695e1d02572e6bc4;hp=e2bdb933ecee40a0c4caf14a20f5e642e3b93120 libretro: minor cleanups --- 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)