diff options
author | bunnei <bunneidev@gmail.com> | 2022-02-26 10:41:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-26 10:41:08 +0100 |
commit | 20e9501b0d0d18b6b215f2f3ed092a3646267bd1 (patch) | |
tree | cd90b946482d00c5431c13b165f28d803cf54f59 /src/core/memory.cpp | |
parent | Merge pull request #7953 from ameerj/radv-rdna2-crash (diff) | |
parent | hle: kernel: KSystemControl: Use 6GB memory layout when "use_extended_memory_layout" setting is enabled. (diff) | |
download | yuzu-20e9501b0d0d18b6b215f2f3ed092a3646267bd1.tar yuzu-20e9501b0d0d18b6b215f2f3ed092a3646267bd1.tar.gz yuzu-20e9501b0d0d18b6b215f2f3ed092a3646267bd1.tar.bz2 yuzu-20e9501b0d0d18b6b215f2f3ed092a3646267bd1.tar.lz yuzu-20e9501b0d0d18b6b215f2f3ed092a3646267bd1.tar.xz yuzu-20e9501b0d0d18b6b215f2f3ed092a3646267bd1.tar.zst yuzu-20e9501b0d0d18b6b215f2f3ed092a3646267bd1.zip |
Diffstat (limited to '')
-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 88d6ec908..28d30eee2 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()) { |