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