early-access version 2522

This commit is contained in:
pineappleEA 2022-02-28 21:42:26 +01:00
parent 43384f2a85
commit 93aa93977d
2 changed files with 5 additions and 6 deletions

View file

@ -1,7 +1,7 @@
yuzu emulator early access
=============
This is the source code for early-access 2521.
This is the source code for early-access 2522.
## Legal Notice

View file

@ -292,11 +292,10 @@ 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;