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
|
@ -641,6 +641,9 @@ int get_oper_cycles(opcode_struct* op, int ea_mode, int cpu_type)
|
|||
strcmp(op->name, "suba") == 0))
|
||||
return op->cycles[cpu_type] + g_ea_cycle_table[ea_mode][cpu_type][size] + 2;
|
||||
|
||||
if(cpu_type == CPU_TYPE_000 && ea_mode == EA_MODE_I && op->size == 8 && strcmp(op->name, "btst") == 0)
|
||||
return op->cycles[cpu_type] + g_ea_cycle_table[ea_mode][cpu_type][size] + 2;
|
||||
|
||||
if(strcmp(op->name, "jmp") == 0)
|
||||
return op->cycles[cpu_type] + g_jmp_cycle_table[ea_mode];
|
||||
if(strcmp(op->name, "jsr") == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue