diff --git a/src/core/arm/nce/arm_nce.cpp b/src/core/arm/nce/arm_nce.cpp index ad57146f1a..a6f8ca597a 100644 --- a/src/core/arm/nce/arm_nce.cpp +++ b/src/core/arm/nce/arm_nce.cpp @@ -163,7 +163,7 @@ bool ArmNce::HandleGuestAccessFault(GuestContext* guest_ctx, void* raw_info, voi // Try to handle an invalid access. // TODO: handle accesses which split a page? const Common::ProcessAddress addr = u64(info->si_addr) & ~Memory::YUZU_PAGEMASK; - + auto& memory = guest_ctx->parent->m_running_thread->GetOwnerProcess()->GetMemory(); if (memory.InvalidateNCE(addr, Memory::YUZU_PAGESIZE)) { // We handled the access successfully and are returning to guest code. return true;