forked from ShuriZma/suyu
core: hle: kernel: KPageTable: ResetTransferMemory: Various cleanup.
This commit is contained in:
parent
ffcaf5af90
commit
0cee5e1af8
|
@ -799,8 +799,7 @@ ResultCode KPageTable::ResetTransferMemory(VAddr addr, std::size_t size) {
|
||||||
|
|
||||||
KMemoryState state{};
|
KMemoryState state{};
|
||||||
|
|
||||||
CASCADE_CODE(
|
R_TRY(CheckMemoryState(&state, nullptr, nullptr, nullptr, addr, size,
|
||||||
CheckMemoryState(&state, nullptr, nullptr, nullptr, addr, size,
|
|
||||||
KMemoryState::FlagCanTransfer | KMemoryState::FlagReferenceCounted,
|
KMemoryState::FlagCanTransfer | KMemoryState::FlagReferenceCounted,
|
||||||
KMemoryState::FlagCanTransfer | KMemoryState::FlagReferenceCounted,
|
KMemoryState::FlagCanTransfer | KMemoryState::FlagReferenceCounted,
|
||||||
KMemoryPermission::None, KMemoryPermission::None, KMemoryAttribute::Mask,
|
KMemoryPermission::None, KMemoryPermission::None, KMemoryAttribute::Mask,
|
||||||
|
|
Loading…
Reference in New Issue