X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2Fmusashi%2Fm68kcpu.h;h=79a6979c7f8214248ab3c10ea4ba50e754b6364b;hb=672ad671130bb662f099b790fdaef4be85e6c146;hp=88855956248e8b45410a58bb3c4308f91959befe;hpb=cc68a136aa179a5f32fe40208371eb9c2b0aadae;p=picodrive.git diff --git a/cpu/musashi/m68kcpu.h b/cpu/musashi/m68kcpu.h index 8885595..79a6979 100644 --- a/cpu/musashi/m68kcpu.h +++ b/cpu/musashi/m68kcpu.h @@ -891,13 +891,16 @@ typedef struct void (*set_fc_callback)(unsigned int new_fc); /* Called when the CPU function code changes */ void (*instr_hook_callback)(void); /* Called every instruction cycle prior to execution */ + sint cyc_remaining_cycles; } m68ki_cpu_core; extern m68ki_cpu_core *m68ki_cpu_p; #define m68ki_cpu (*m68ki_cpu_p) // test -extern sint m68ki_remaining_cycles; +// extern sint m68ki_remaining_cycles; +#define m68ki_remaining_cycles m68ki_cpu_p->cyc_remaining_cycles + extern uint m68ki_tracing; extern uint8 m68ki_shift_8_table[]; extern uint16 m68ki_shift_16_table[];