mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 22:28:15 +00:00
target/m68k: Correct M68K_CPU macro parameters in m68k_cpu_handle_mmu_fault in helper.c
This commit is contained in:
parent
c169f3dc5d
commit
1fe99928c8
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ void m68k_switch_sp(CPUM68KState *env)
|
|||
int m68k_cpu_handle_mmu_fault(CPUState *cs, vaddr address, int size, int rw,
|
||||
int mmu_idx)
|
||||
{
|
||||
M68kCPU *cpu = M68K_CPU(cs);
|
||||
M68kCPU *cpu = M68K_CPU(cs->uc, cs);
|
||||
|
||||
cs->exception_index = EXCP_ACCESS;
|
||||
cpu->env.mmu.ar = address;
|
||||
|
|
Loading…
Reference in a new issue