diff options
| author | bunnei <bunneidev@gmail.com> | 2022-02-26 01:41:08 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-26 01:41:08 -0800 |
| commit | 2bbcc3d1c458d1d968d94700948f6246fca77a4f (patch) | |
| tree | cd90b946482d00c5431c13b165f28d803cf54f59 /src/core/memory.cpp | |
| parent | 254c8f1736aea71f71414455d50c9e3fd9c7c666 (diff) | |
| parent | d3198bb9606f814f80f455c495c69d612d2e5a02 (diff) | |
Merge pull request #7932 from bunnei/extended-mem-layout
Add extended memory layout (6GB) support and improve KResourceLimit management
Diffstat (limited to 'src/core/memory.cpp')
| -rw-r--r-- | src/core/memory.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/memory.cpp b/src/core/memory.cpp index 88d6ec9083..28d30eee29 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp @@ -39,8 +39,7 @@ struct Memory::Impl { void MapMemoryRegion(Common::PageTable& page_table, VAddr base, u64 size, PAddr target) { ASSERT_MSG((size & PAGE_MASK) == 0, "non-page aligned size: {:016X}", size); ASSERT_MSG((base & PAGE_MASK) == 0, "non-page aligned base: {:016X}", base); - ASSERT_MSG(target >= DramMemoryMap::Base && target < DramMemoryMap::End, - "Out of bounds target: {:016X}", target); + ASSERT_MSG(target >= DramMemoryMap::Base, "Out of bounds target: {:016X}", target); MapPages(page_table, base / PAGE_SIZE, size / PAGE_SIZE, target, Common::PageType::Memory); if (Settings::IsFastmemEnabled()) { |
