ppcmmu: refactor and clean up.

This commit is contained in:
Maxim Poliakovski
2021-09-25 15:57:35 +02:00
parent 5b54cd69ef
commit 212cd58f40
3 changed files with 1117 additions and 1095 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ void exec_single_68k()
/* calculate address of the current opcode table entry as follows:
get_word(68k_PC) * entry_size + table_base */
cur_instr_tab_entry = mem_grab_word(cur_68k_pc) * 8 + emu_table_virt;
cur_instr_tab_entry = mmu_read_vmem<uint16_t>(cur_68k_pc) * 8 + emu_table_virt;
/* grab the PPC PC too */
reg = "PC";