From 43384f2a85dfb2a24901bca65c9ba4ff3d1e69a0 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Mon, 28 Feb 2022 19:14:46 +0100 Subject: [PATCH] early-access version 2521 --- README.md | 2 +- src/core/hle/kernel/k_page_table.cpp | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d172f7b61..fa8516e37 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 2520. +This is the source code for early-access 2521. ## Legal Notice diff --git a/src/core/hle/kernel/k_page_table.cpp b/src/core/hle/kernel/k_page_table.cpp index bafe4c974..e968eeb54 100755 --- a/src/core/hle/kernel/k_page_table.cpp +++ b/src/core/hle/kernel/k_page_table.cpp @@ -292,10 +292,11 @@ ResultCode KPageTable::MapCodeMemory(VAddr dst_addr, VAddr src_addr, std::size_t KMemoryState state{}; KMemoryPermission perm{}; - CASCADE_CODE(CheckMemoryState(&state, &perm, nullptr, nullptr, src_addr, size, - KMemoryState::All, KMemoryState::Normal, KMemoryPermission::All, - KMemoryPermission::UserReadWrite, KMemoryAttribute::Mask, - KMemoryAttribute::None, KMemoryAttribute::IpcAndDeviceMapped)); + // CASCADE_CODE(CheckMemoryState(&state, &perm, nullptr, nullptr, src_addr, size, + // KMemoryState::All, KMemoryState::Normal, + // KMemoryPermission::All, KMemoryPermission::UserReadWrite, + // KMemoryAttribute::Mask, KMemoryAttribute::None, + // KMemoryAttribute::IpcAndDeviceMapped)); if (IsRegionMapped(dst_addr, size)) { return ResultInvalidCurrentMemory;