X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fcz80%2Fcz80.c;h=d7bdba3bb61bdf16ba7a7ff37bb5289d3e69041a;hb=10d84cb2757db05bf7d66ef33575c52ed4b22053;hp=461b46a761826531ca25c0b791ebc89cf94c9ddb;hpb=dca310c413517d278898b967cfe610574310acd8;p=picodrive.git diff --git a/cpu/cz80/cz80.c b/cpu/cz80/cz80.c index 461b46a..d7bdba3 100644 --- a/cpu/cz80/cz80.c +++ b/cpu/cz80/cz80.c @@ -14,12 +14,20 @@ #include "cz80.h" #if PICODRIVE_HACKS +#undef EMU_M68K #include #endif #ifndef ALIGN_DATA +#ifdef _MSC_VER +#define ALIGN_DATA +#define inline +#undef CZ80_USE_JUMPTABLE +#define CZ80_USE_JUMPTABLE 0 +#else #define ALIGN_DATA __attribute__((aligned(4))) #endif +#endif #define CF 0x01 #define NF 0x02