mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
68k, synchronize timing in fame and musashi (for debugging)
This commit is contained in:
parent
b26071be31
commit
5e04c2f37f
6 changed files with 15 additions and 9 deletions
|
@ -916,6 +916,7 @@ typedef struct
|
|||
void (*instr_hook_callback)(void); /* Called every instruction cycle prior to execution */
|
||||
|
||||
// notaz
|
||||
sint cyc_initial_cycles;
|
||||
sint cyc_remaining_cycles;
|
||||
sint not_polling;
|
||||
} m68ki_cpu_core;
|
||||
|
@ -923,6 +924,7 @@ typedef struct
|
|||
// notaz
|
||||
extern m68ki_cpu_core *m68ki_cpu_p;
|
||||
#define m68ki_cpu (*m68ki_cpu_p)
|
||||
#define m68ki_initial_cycles m68ki_cpu_p->cyc_initial_cycles
|
||||
#define m68ki_remaining_cycles m68ki_cpu_p->cyc_remaining_cycles
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue