early-access version 2521

This commit is contained in:
pineappleEA 2022-02-28 19:14:46 +01:00
parent a1e50a2b0d
commit 43384f2a85
2 changed files with 6 additions and 5 deletions

View file

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

View file

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