early-access version 2522
This commit is contained in:
parent
43384f2a85
commit
93aa93977d
2 changed files with 5 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 2521.
|
This is the source code for early-access 2522.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
|
|
@ -292,11 +292,10 @@ ResultCode KPageTable::MapCodeMemory(VAddr dst_addr, VAddr src_addr, std::size_t
|
||||||
|
|
||||||
KMemoryState state{};
|
KMemoryState state{};
|
||||||
KMemoryPermission perm{};
|
KMemoryPermission perm{};
|
||||||
// CASCADE_CODE(CheckMemoryState(&state, &perm, nullptr, nullptr, src_addr, size,
|
CASCADE_CODE(CheckMemoryState(&state, &perm, nullptr, nullptr, src_addr, size,
|
||||||
// KMemoryState::All, KMemoryState::Normal,
|
KMemoryState::All, KMemoryState::Normal, KMemoryPermission::All,
|
||||||
// KMemoryPermission::All, KMemoryPermission::UserReadWrite,
|
KMemoryPermission::UserReadWrite, KMemoryAttribute::Mask,
|
||||||
// KMemoryAttribute::Mask, KMemoryAttribute::None,
|
KMemoryAttribute::None, KMemoryAttribute::IpcAndDeviceMapped));
|
||||||
// KMemoryAttribute::IpcAndDeviceMapped));
|
|
||||||
|
|
||||||
if (IsRegionMapped(dst_addr, size)) {
|
if (IsRegionMapped(dst_addr, size)) {
|
||||||
return ResultInvalidCurrentMemory;
|
return ResultInvalidCurrentMemory;
|
||||||
|
|
Loading…
Reference in a new issue