VU0 collision

This commit is contained in:
aap
2020-08-03 12:58:37 +02:00
parent a786dd45a4
commit abb640c6b6
12 changed files with 2194 additions and 20 deletions

View File

@@ -89,6 +89,16 @@ typedef uint16_t wchar;
#include <rpskin.h>
#endif
#ifdef __GNUC__
#define TYPEALIGN(n) __attribute__ ((aligned (n)))
#else
#ifdef _MSC_VER
#define TYPEALIGN(n) __declspec(align(n))
#else
#define TYPEALIGN(n) // unknown compiler...ignore
#endif
#endif
#define ALIGNPTR(p) (void*)((((uintptr)(void*)p) + sizeof(void*)-1) & ~(sizeof(void*)-1))
// PDP-10 like byte functions