From 55b0eeea6028e00741e620d28ab3211c49b8515f Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 24 Sep 2011 18:41:41 +0300 Subject: add pollux/caanoo port, refactor things --- plugins/dfxvideo/draw_fb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'plugins/dfxvideo/draw_fb.c') 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(); -- cgit v1.2.3