mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
General: Replace GC_ALIGN macros with alignas
Standard supported alignment -> out with compiler-specific.
This commit is contained in:
parent
c08a83a5aa
commit
8ce04f9a65
19 changed files with 73 additions and 84 deletions
|
@ -5,7 +5,9 @@
|
|||
#include <algorithm>
|
||||
#include <cmath>
|
||||
|
||||
#include "Common/Common.h"
|
||||
#include "Common/CommonFuncs.h"
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/Logging/Log.h"
|
||||
|
||||
#include "VideoCommon/LookUpTables.h"
|
||||
#include "VideoCommon/sfont.inc"
|
||||
|
@ -16,7 +18,7 @@ static bool TexFmt_Overlay_Center = false;
|
|||
|
||||
// TRAM
|
||||
// STATE_TO_SAVE
|
||||
GC_ALIGNED16(u8 texMem[TMEM_SIZE]);
|
||||
alignas(16) u8 texMem[TMEM_SIZE];
|
||||
|
||||
int TexDecoder_GetTexelSizeInNibbles(int format)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue