From: Tobias Jakobi Date: Tue, 4 Mar 2014 19:15:13 +0000 (+0100) Subject: libretro: align vout_buf to 128-bit X-Git-Tag: r20~44 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9579f3bc3d60571252172b17195bca246d1a1be;p=pcsx_rearmed.git libretro: align vout_buf to 128-bit --- diff --git a/frontend/libretro.c b/frontend/libretro.c index 4f6b48e1..94d649e0 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -989,7 +989,7 @@ void retro_init(void) exit(1); } - vout_buf = malloc(VOUT_MAX_WIDTH * VOUT_MAX_HEIGHT * 2); + posix_memalign(&vout_buf, 16, VOUT_MAX_WIDTH * VOUT_MAX_HEIGHT * 2); if (environ_cb(RETRO_ENVIRONMENT_GET_SYSTEM_DIRECTORY, &dir) && dir) {