X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Ffame%2Ffame.h;h=2f9d8508a1d03cf4b38aace9a1525ba0da8d49e1;hb=e015ad3c1b8430b6c217c5cd3384f95389878e1a;hp=d5349246f83bb443c677c53a4ba80305c4b044dc;hpb=95049eea1c93ae4ed044c0cbb51b3c19442e0e2b;p=picodrive.git diff --git a/cpu/fame/fame.h b/cpu/fame/fame.h index d534924..2f9d850 100644 --- a/cpu/fame/fame.h +++ b/cpu/fame/fame.h @@ -125,6 +125,7 @@ typedef struct unsigned int Opcode; signed int cycles_needed; + unsigned short *PC; unsigned long BasePC; unsigned int flag_C; @@ -136,6 +137,9 @@ typedef struct unsigned int flag_S; unsigned int flag_I; + unsigned char not_polling; + unsigned char pad[3]; + unsigned long Fetch[M68K_FETCHBANK1]; } M68K_CONTEXT; @@ -148,7 +152,7 @@ extern M68K_CONTEXT *g_m68kcontext; /* General purpose functions */ void fm68k_init(void); int fm68k_reset(void); -int fm68k_emulate(int n, int dualcore, int idle_mode); +int fm68k_emulate(int n, int idle_mode); int fm68k_would_interrupt(void); // to be called from fm68k_emulate() unsigned fm68k_get_pc(M68K_CONTEXT *context);