target/m68k: Correct M68K_CPU macro parameters in m68k_cpu_handle_mmu_fault in helper.c

This commit is contained in:
Lioncash 2018-03-15 23:04:50 -04:00
parent c169f3dc5d
commit 1fe99928c8
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -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;