aboutsummaryrefslogtreecommitdiff
path: root/plugins/gpu_neon/vout_fb.c
diff options
context:
space:
mode:
authornotaz2011-11-19 22:25:59 +0200
committernotaz2011-11-19 22:25:59 +0200
commit6f2ee2becb1eb33cac685594f13468cef4d09684 (patch)
tree3fc48aa2f2c3ac9028c228322efebbd84b9df308 /plugins/gpu_neon/vout_fb.c
parent30f6e5edd98efed9c1624205e5c40c383e0db966 (diff)
downloadpcsx_rearmed-6f2ee2becb1eb33cac685594f13468cef4d09684.tar.gz
pcsx_rearmed-6f2ee2becb1eb33cac685594f13468cef4d09684.tar.bz2
pcsx_rearmed-6f2ee2becb1eb33cac685594f13468cef4d09684.zip
gpu_neon: support unai as rendering backend
Diffstat (limited to 'plugins/gpu_neon/vout_fb.c')
-rw-r--r--plugins/gpu_neon/vout_fb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/gpu_neon/vout_fb.c b/plugins/gpu_neon/vout_fb.c
index 5b54bd1..7da4ae2 100644
--- a/plugins/gpu_neon/vout_fb.c
+++ b/plugins/gpu_neon/vout_fb.c
@@ -27,7 +27,8 @@ int vout_finish(void)
static void blit(void)
{
- static uint32_t old_status, old_h;
+ static uint32_t old_status;
+ static int old_h;
int x = gpu.screen.x & ~1; // alignment needed by blitter
int y = gpu.screen.y;
int w = gpu.screen.w;
@@ -46,7 +47,7 @@ static void blit(void)
screen_buf = cbs->pl_vout_set_mode(stride, h, gpu.status.rgb24 ? 24 : 16);
}
- dest = screen_buf;
+ dest = (uint8_t *)screen_buf;
// only do centering, at least for now
doffs = (stride - w) / 2 & ~1;