diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-13 03:05:32 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2022-10-06 21:00:52 +0200 |
commit | 0f4ae3cc52a740bac836f8f8c2ff5d560b8ca46e (patch) | |
tree | 3eb4d2c5d34152a4e606e9e953d4de09ff8e4fc3 /src | |
parent | NvHostCtrl: Fix merge of nvflinger. (diff) | |
download | yuzu-0f4ae3cc52a740bac836f8f8c2ff5d560b8ca46e.tar yuzu-0f4ae3cc52a740bac836f8f8c2ff5d560b8ca46e.tar.gz yuzu-0f4ae3cc52a740bac836f8f8c2ff5d560b8ca46e.tar.bz2 yuzu-0f4ae3cc52a740bac836f8f8c2ff5d560b8ca46e.tar.lz yuzu-0f4ae3cc52a740bac836f8f8c2ff5d560b8ca46e.tar.xz yuzu-0f4ae3cc52a740bac836f8f8c2ff5d560b8ca46e.tar.zst yuzu-0f4ae3cc52a740bac836f8f8c2ff5d560b8ca46e.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/memory_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/memory_manager.cpp b/src/video_core/memory_manager.cpp index 1e090279f..9e946d448 100644 --- a/src/video_core/memory_manager.cpp +++ b/src/video_core/memory_manager.cpp @@ -125,7 +125,7 @@ std::optional<GPUVAddr> MemoryManager::FindFreeRange(std::size_t size, std::size } u64 available_size{}; - GPUVAddr gpu_addr{allocate_start}; + GPUVAddr gpu_addr{start_32bit_address ? 0 : allocate_start}; while (gpu_addr + available_size < address_space_size) { if (GetEntry(gpu_addr + available_size) == EntryType::Free) { available_size += page_size; |