core1/code_31C0.c done, core1/code_3250.c done

This commit is contained in:
Banjo Kazooie
2022-10-16 13:39:56 -05:00
parent 90067074fb
commit 7e2298a89c
10 changed files with 257 additions and 120 deletions

View File

@@ -37,7 +37,7 @@
#define FTOFIX32(x) (long)((x) * (float)0x00010000)
#define FIX32TOF(x) ((float)(x) * (1.0f / (float)0x00010000))
#define FTOFRAC8(x) ((int) MIN(((x) * (128.0f)), 127.0f) & 0xff)
#define FTOFRAC8(x) ((int) MIN(((x) * (128.0)), 127.0) & 0xff)
#define FILTER_WRAP 0
#define FILTER_CLAMP 1