summaryrefslogtreecommitdiff
path: root/src/JSystem/J3DGraphBase
diff options
context:
space:
mode:
authorJcw87 <Jcw87@users.noreply.github.com>2023-11-22 20:51:47 -0800
committerJcw87 <Jcw87@users.noreply.github.com>2023-12-10 01:25:36 -0800
commite2a3c6b7bf292d671bb100643d83ae6d854d23e3 (patch)
tree7c0b46430779bae6e198289064a3b57feab0a15a /src/JSystem/J3DGraphBase
parent1087848ba77925c4d4fe0e5e3993c8416c9e886b (diff)
use macros for compiler alignment and section directives
Diffstat (limited to 'src/JSystem/J3DGraphBase')
-rw-r--r--src/JSystem/J3DGraphBase/J3DSys.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/JSystem/J3DGraphBase/J3DSys.cpp b/src/JSystem/J3DGraphBase/J3DSys.cpp
index 83f4b885..653bc38c 100644
--- a/src/JSystem/J3DGraphBase/J3DSys.cpp
+++ b/src/JSystem/J3DGraphBase/J3DSys.cpp
@@ -9,6 +9,7 @@
#include "JSystem/J3DGraphBase/J3DTevs.h"
#include "JSystem/J3DGraphBase/J3DShape.h"
#include "dolphin/os/OS.h"
+#include "global.h"
extern void JRNLoadTexCached(GXTexMapID, u32, GXTexCacheSize, u32, GXTexCacheSize);
extern void makeTexCoordTable();
@@ -118,7 +119,7 @@ void J3DFifoLoadNrmMtxImm3x3(Mtx33 mtx, unsigned long idx) {
GFX_FIFO(u32) = mtx_u32[8];
}
-u8 NullTexData[16] __attribute__((aligned(32))) = {
+u8 NullTexData[16] ALIGN_DECL(32) = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};