X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Ffame%2Ffame.h;h=aba9316ee726a84f35698d5159424819337fa9e3;hb=48c9e01be8ad93a7902e22f9ad07aba4527e6572;hp=0baabf2606a7bf77495fd1447d2700b6460b06c7;hpb=7669591e0876778fc4f3977b145c012f2e3a12e9;p=picodrive.git diff --git a/cpu/fame/fame.h b/cpu/fame/fame.h index 0baabf2..aba9316 100644 --- a/cpu/fame/fame.h +++ b/cpu/fame/fame.h @@ -9,6 +9,12 @@ #ifndef __FAME_H__ #define __FAME_H__ +// uintptr_t +#include +#ifndef _MSC_VER +#include +#endif + #ifdef __cplusplus extern "C" { #endif @@ -127,7 +133,7 @@ typedef struct signed int cycles_needed; unsigned short *PC; - unsigned long BasePC; + uintptr_t BasePC; unsigned int flag_C; unsigned int flag_V; unsigned int flag_NotZ; @@ -140,7 +146,7 @@ typedef struct unsigned char not_polling; unsigned char pad[3]; - unsigned long Fetch[M68K_FETCHBANK1]; + uintptr_t Fetch[M68K_FETCHBANK1]; } M68K_CONTEXT; typedef enum