mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-10-07 10:33:37 +00:00
18 lines
270 B
C
18 lines
270 B
C
#ifndef COMMON_H
|
|
#define COMMON_H
|
|
|
|
#include "include_asm.h"
|
|
#include "macros.h"
|
|
#include "types.h"
|
|
|
|
#define LOH(x) (*(s16*)&(x))
|
|
#ifdef HACKS
|
|
#define ALIGNED4 __attribute__(aligned(4))
|
|
#else
|
|
#define ALIGNED4
|
|
#endif
|
|
|
|
int sprintf(char* dst, const char* fmt, ...);
|
|
|
|
#endif
|