mcd: text shows up
[picodrive.git] / cpu / musashi / m68kcpu.h
index 8885595..79a6979 100644 (file)
@@ -891,13 +891,16 @@ typedef struct
        void (*set_fc_callback)(unsigned int new_fc);     /* Called when the CPU function code changes */\r
        void (*instr_hook_callback)(void);                /* Called every instruction cycle prior to execution */\r
 \r
+       sint cyc_remaining_cycles;\r
 } m68ki_cpu_core;\r
 \r
 \r
 extern m68ki_cpu_core *m68ki_cpu_p;\r
 #define m68ki_cpu (*m68ki_cpu_p) // test\r
 \r
-extern sint           m68ki_remaining_cycles;\r
+// extern sint           m68ki_remaining_cycles;\r
+#define m68ki_remaining_cycles m68ki_cpu_p->cyc_remaining_cycles\r
+\r
 extern uint           m68ki_tracing;\r
 extern uint8          m68ki_shift_8_table[];\r
 extern uint16         m68ki_shift_16_table[];\r