X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fplugin_lib.c;h=eb9d48eab382a99fdc1dc4ee54fe8fcbc15ece57;hb=e912c27d672c839f77e572183ca619820e7d52e5;hp=eee255b72aa1e159a278202503f22b037e09058b;hpb=28ea3e2d87c4e239d8853b10c4496f82feb9d982;p=pcsx_rearmed.git diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index eee255b7..eb9d48ea 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -400,6 +400,8 @@ static void pl_vout_flip(const void *vram, int stride, int bgr24, int w, int h) #endif else { + src = (void *)((uintptr_t)src & ~3); // align for the blitter + for (; h1-- > 0; dest += dstride * 2, src += stride) { bgr555_to_rgb565(dest, src, w * 2);