X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=frontend%2Fplugin_lib.c;h=c6a2bf0e143ea2ef7b6fe51cbfeb1b3c5cbd7be5;hp=ab4d4152eb6309a98057b9de590ea1f94c2f40e8;hb=2391c1b4a91068853fb2d783c8f7613658be4250;hpb=32631e6a5d44d1e6aa5d53d5777a039b2d3d4300;ds=sidebyside diff --git a/frontend/plugin_lib.c b/frontend/plugin_lib.c index ab4d4152..c6a2bf0e 100644 --- a/frontend/plugin_lib.c +++ b/frontend/plugin_lib.c @@ -396,6 +396,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);