mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-26 22:30:59 +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
|
@ -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 m68k_cpu_handle_mmu_fault(CPUState *cs, vaddr address, int size, int rw,
|
||||||
int mmu_idx)
|
int mmu_idx)
|
||||||
{
|
{
|
||||||
M68kCPU *cpu = M68K_CPU(cs);
|
M68kCPU *cpu = M68K_CPU(cs->uc, cs);
|
||||||
|
|
||||||
cs->exception_index = EXCP_ACCESS;
|
cs->exception_index = EXCP_ACCESS;
|
||||||
cpu->env.mmu.ar = address;
|
cpu->env.mmu.ar = address;
|
||||||
|
|
Loading…
Reference in a new issue