aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfxvideo/draw_fb.c
diff options
context:
space:
mode:
authornotaz2011-09-24 18:41:41 +0300
committernotaz2011-09-25 01:24:11 +0300
commit55b0eeea6028e00741e620d28ab3211c49b8515f (patch)
treecc652ae976722211ff4bc7d65c9c890ad1057099 /plugins/dfxvideo/draw_fb.c
parent15776b68de021ae41ebd5d8d646beca694c3784d (diff)
downloadpcsx_rearmed-55b0eeea6028e00741e620d28ab3211c49b8515f.tar.gz
pcsx_rearmed-55b0eeea6028e00741e620d28ab3211c49b8515f.tar.bz2
pcsx_rearmed-55b0eeea6028e00741e620d28ab3211c49b8515f.zip
add pollux/caanoo port, refactor things
Diffstat (limited to 'plugins/dfxvideo/draw_fb.c')
-rw-r--r--plugins/dfxvideo/draw_fb.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/dfxvideo/draw_fb.c b/plugins/dfxvideo/draw_fb.c
index 7f80724..8814da8 100644
--- a/plugins/dfxvideo/draw_fb.c
+++ b/plugins/dfxvideo/draw_fb.c
@@ -80,7 +80,10 @@ void DoBufferSwap(void)
}
pcnt_start(PCNT_BLIT);
- blit(vout_buf);
+ if (rcbs->pl_vout_raw_flip != NULL)
+ rcbs->pl_vout_raw_flip(PSXDisplay.DisplayPosition.x, PSXDisplay.DisplayPosition.y);
+ else
+ blit(vout_buf);
pcnt_end(PCNT_BLIT);
vout_buf = rcbs->pl_vout_flip();