diff options
| author | Jcw87 <Jcw87@users.noreply.github.com> | 2023-11-22 20:51:47 -0800 |
|---|---|---|
| committer | Jcw87 <Jcw87@users.noreply.github.com> | 2023-12-10 01:25:36 -0800 |
| commit | e2a3c6b7bf292d671bb100643d83ae6d854d23e3 (patch) | |
| tree | 7c0b46430779bae6e198289064a3b57feab0a15a /src/JSystem/J3DGraphBase | |
| parent | 1087848ba77925c4d4fe0e5e3993c8416c9e886b (diff) | |
use macros for compiler alignment and section directives
Diffstat (limited to 'src/JSystem/J3DGraphBase')
| -rw-r--r-- | src/JSystem/J3DGraphBase/J3DSys.cpp | 3 |
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, }; |
