summaryrefslogtreecommitdiff
path: root/include/gba
diff options
context:
space:
mode:
authorHenny022p <73211432+Henny022p@users.noreply.github.com>2026-02-08 18:32:38 +0100
committerGitHub <noreply@github.com>2026-02-08 18:32:38 +0100
commit5ab63f00e522ff69c5bc987e379f0163943f2833 (patch)
tree53622222ac729c6ab6dc75ef7f9bafa8031daf18 /include/gba
parent73901a0a012d55ebb66a4627dcb246d19737fcb5 (diff)
parent5b2cafdc894823d57beee8f3947a391d881d91de (diff)
Merge pull request #701 from Henny022p/cleanup/250302HEADmaster
Various code cleanup changes
Diffstat (limited to 'include/gba')
-rw-r--r--include/gba/defines.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/gba/defines.h b/include/gba/defines.h
index a135969e..73802774 100644
--- a/include/gba/defines.h
+++ b/include/gba/defines.h
@@ -16,9 +16,13 @@
#define NAKED __attribute__((naked))
#define UNUSED __attribute__((unused))
+#ifdef __CLION_IDE__
+#define PACKED
+#define ALIGNED(n)
+#else
#define PACKED __attribute__((packed))
-
#define ALIGNED(n) __attribute__((aligned(n)))
+#endif
#define SOUND_INFO_PTR (*(struct SoundInfo**)0x3007FF0)
#define INTR_CHECK (*(u16*)0x3007FF8)