summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureDecoder_Common.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-09-05 11:44:21 -0400
committerLioncash <mathew1800@gmail.com>2015-09-06 12:53:51 -0400
commit8ce04f9a65612b7553015428e617ba7c53913175 (patch)
tree2ffe9b6317ded8661a1470ac79dde386f3a0329c /Source/Core/VideoCommon/TextureDecoder_Common.cpp
parentc08a83a5aae41e7c8904295cfa62f932ea87ce02 (diff)
General: Replace GC_ALIGN macros with alignas
Standard supported alignment -> out with compiler-specific.
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder_Common.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureDecoder_Common.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/TextureDecoder_Common.cpp b/Source/Core/VideoCommon/TextureDecoder_Common.cpp
index 8fc1631b93..a1c7bff0c2 100644
--- a/Source/Core/VideoCommon/TextureDecoder_Common.cpp
+++ b/Source/Core/VideoCommon/TextureDecoder_Common.cpp
@@ -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)
{