From: Tobias Jakobi Date: Tue, 4 Mar 2014 19:15:13 +0000 (+0100) Subject: libretro: align vout_buf to 128-bit X-Git-Tag: r24l~910^2 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=252e4935160ab66db53edc2da74ea5967c5eaf5f;p=pcsx_rearmed.git libretro: align vout_buf to 128-bit --- diff --git a/frontend/libretro.c b/frontend/libretro.c index 5a881f36..13a4af38 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) {