From 08cb8431803b19947a05aa44f05e05c921713a7e Mon Sep 17 00:00:00 2001 From: Jonathan Li Date: Mon, 18 May 2020 10:48:23 +0100 Subject: [PATCH] ipu: Use alignas to ensure 16-byte alignment of indx4 array --- pcsx2/IPU/IPU.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pcsx2/IPU/IPU.cpp b/pcsx2/IPU/IPU.cpp index 962e716060..b9d0006274 100644 --- a/pcsx2/IPU/IPU.cpp +++ b/pcsx2/IPU/IPU.cpp @@ -47,8 +47,7 @@ static rgb16_t vqclut[16]; //clut conversion table static u8 s_thresh[2]; //thresholds for color conversions int coded_block_pattern = 0; - -u8 indx4[16*16/2]; +alignas(16) static u8 indx4[16*16/2]; uint eecount_on_last_vdec = 0; bool FMVstarted = false;