aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-06-22 14:47:07 -0700
committerGitHub <noreply@github.com>2022-06-22 14:47:07 -0700
commit95b844dbae8bf9352f08563e816a198feba51ee9 (patch)
treee3f682a3bb41249a12dd9de86f2555bac9edcca5 /src
parent9da4e62573cdaa8a48dd18068642b494cfed9a04 (diff)
parent1c8f6ba18fd3884ef57eacefcf1ec857fe807ece (diff)
Merge pull request #8491 from Morph1984/extra-assert
KPageTable: Remove extraneous assert
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/k_page_table.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_page_table.cpp b/src/core/hle/kernel/k_page_table.cpp
index 504e22cb97..39b89da53e 100644
--- a/src/core/hle/kernel/k_page_table.cpp
+++ b/src/core/hle/kernel/k_page_table.cpp
@@ -65,7 +65,6 @@ ResultCode KPageTable::InitializeForProcess(FileSys::ProgramAddressSpaceType as_
std::size_t alias_region_size{GetSpaceSize(KAddressSpaceInfo::Type::Alias)};
std::size_t heap_region_size{GetSpaceSize(KAddressSpaceInfo::Type::Heap)};
- ASSERT(start <= code_addr);
ASSERT(code_addr < code_addr + code_size);
ASSERT(code_addr + code_size - 1 <= end - 1);