use macros for compiler alignment and section directives

This commit is contained in:
Jcw87
2023-11-22 20:51:47 -08:00
parent 1087848ba7
commit e2a3c6b7bf
19 changed files with 80 additions and 66 deletions
+3 -2
View File
@@ -7,11 +7,12 @@
#include "m_Do/m_Do_Reset.h"
#include "JSystem/JKernel/JKRThread.h"
#include "dolphin/card.h"
#include "global.h"
#include "MSL_C/string.h"
u8 MemCardStack[0x1000] __attribute__((aligned(32)));
u8 MemCardStack[0x1000] ALIGN_DECL(32);
OSThread MemCardThread;
u8 MemCardWorkArea0[0xa000] __attribute__((aligned(32)));
u8 MemCardWorkArea0[0xa000] ALIGN_DECL(32);
mDoMemCd_Ctrl_c g_mDoMemCd_control;