From 252e4935160ab66db53edc2da74ea5967c5eaf5f Mon Sep 17 00:00:00 2001 From: Tobias Jakobi Date: Tue, 4 Mar 2014 20:15:13 +0100 Subject: [PATCH] libretro: align vout_buf to 128-bit --- frontend/libretro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2