diff options
| author | Prakxo <87568477+Prakxo@users.noreply.github.com> | 2023-11-23 18:03:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-23 10:03:30 -0700 |
| commit | e1fcb33cef0b8e58ce3cecc2977921e685f129ba (patch) | |
| tree | 2bdf6a246b02e0863efb24925293d916174e58bc /include/alignment.h | |
| parent | bd8169465a20a324436c4ead9a750d869a17131b (diff) | |
The NPC PR 3/3 OK (#119)
* npc werk
* atleast it builds
* m_npc OK
* forgor format
* review
* format
* fix warns?
Diffstat (limited to 'include/alignment.h')
| -rw-r--r-- | include/alignment.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/alignment.h b/include/alignment.h index 9fb3b57..5ab84ac 100644 --- a/include/alignment.h +++ b/include/alignment.h @@ -3,6 +3,7 @@ #include "attributes.h" +#define ALIGN2(val) (((val) + 1) & ~1) #define ALIGN4(val) (((val) + 3) & ~3) #define ALIGN8(val) (((val) + 7) & ~7) #define ALIGN16(val) (((val) + 0xF) & ~0xF) |
