notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2bdb93
)
libretro: minor cleanups
author
notaz
<notasas@gmail.com>
Mon, 10 Dec 2012 16:42:13 +0000
(18:42 +0200)
committer
notaz
<notasas@gmail.com>
Mon, 10 Dec 2012 21:38:49 +0000
(23:38 +0200)
frontend/libretro.c
patch
|
blob
|
blame
|
history
diff --git
a/frontend/libretro.c
b/frontend/libretro.c
index
8256fe1
..
bdcf519
100644
(file)
--- 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
+#if
n
def 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)