vdp, optimisation for 8bit renderers

This commit is contained in:
kub 2020-08-04 22:24:56 +02:00
parent 1f49b75032
commit 352479001c
4 changed files with 18 additions and 13 deletions

View file

@ -364,7 +364,7 @@ void pemu_finalize_frame(const char *fps, const char *notice)
localPalSize = make_local_pal(1);
// a hack for VR
if (PicoIn.AHW & PAHW_SVP)
memset32((int *)(Pico.est.Draw2FB+328*8+328*223), 0xe0e0e0e0, 328);
memset32((int *)(Pico.est.Draw2FB+328*8+328*223), 0xe0e0e0e0, 328/4);
// do actual copy
vidcpyM2(g_screen_ptr, Pico.est.Draw2FB+328*8,
!(Pico.video.reg[12] & 1), !(PicoIn.opt & POPT_DIS_32C_BORDER));