Fix CPU blocklist and turn it into a macro

This commit is contained in:
RichardG867
2020-12-18 18:36:14 -03:00
parent b857a81e76
commit 016edcde97
2 changed files with 16 additions and 15 deletions

View File

@@ -85,6 +85,7 @@
#define IS_ARCH(m, a) (machines[m].flags & (a)) ? 1 : 0;
#define IS_AT(m) ((machines[m].flags & 0x00000FC8) && !(machines[m].flags & MACHINE_PC98)) ? 1 : 0;
#define CPU_BLOCK(...) (const uint8_t[]) {__VA_ARGS__, 0}
#define MACHINE_MULTIPLIER_FIXED -1, -1