X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=plugins%2Fdfxvideo%2Fdraw_pl.c;h=37dbfff1d410a7ff2cc42214d3550679630fc1d4;hp=06a635da4e00fff140cb6f078ea9fe04e50fa678;hb=8a55ebcc07d4f860633db8c77bb9e16bcfa03313;hpb=2857d72e4ca743bba3cf55e298949e24d97dff02;ds=sidebyside diff --git a/plugins/dfxvideo/draw_pl.c b/plugins/dfxvideo/draw_pl.c index 06a635da..37dbfff1 100644 --- a/plugins/dfxvideo/draw_pl.c +++ b/plugins/dfxvideo/draw_pl.c @@ -9,9 +9,8 @@ #include "gpu.h" -#include "../gpulib/cspace.h" #include "../../frontend/plugin_lib.h" -#include "../../frontend/pcnt.h" +#include "pcnt.h" // misc globals long lLowerpart; @@ -50,7 +49,7 @@ void DoBufferSwap(void) fbw = PreviousPSXDisplay.DisplayMode.x; fbh = PreviousPSXDisplay.DisplayMode.y; fb24bpp = PSXDisplay.RGB24; - rcbs->pl_vout_set_mode(fbw, fbh, fb24bpp ? 24 : 16); + rcbs->pl_vout_set_mode(fbw, fbh, fbw, fbh, fb24bpp ? 24 : 16); } pcnt_start(PCNT_BLIT);