diff options
author | bunnei <bunneidev@gmail.com> | 2019-03-21 04:12:28 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2019-03-21 04:12:28 +0100 |
commit | 2117edd0f848cd7bc35bdbb1495ca10649715625 (patch) | |
tree | 6befcf08e4457543fc3fab9b9fc1deb2a76d6783 /src/video_core/memory_manager.h | |
parent | memory_manager: Use Common::AlignUp in public interface as needed. (diff) | |
download | yuzu-2117edd0f848cd7bc35bdbb1495ca10649715625.tar yuzu-2117edd0f848cd7bc35bdbb1495ca10649715625.tar.gz yuzu-2117edd0f848cd7bc35bdbb1495ca10649715625.tar.bz2 yuzu-2117edd0f848cd7bc35bdbb1495ca10649715625.tar.lz yuzu-2117edd0f848cd7bc35bdbb1495ca10649715625.tar.xz yuzu-2117edd0f848cd7bc35bdbb1495ca10649715625.tar.zst yuzu-2117edd0f848cd7bc35bdbb1495ca10649715625.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/memory_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.h index 60ba6b858..34744bb27 100644 --- a/src/video_core/memory_manager.h +++ b/src/video_core/memory_manager.h @@ -126,8 +126,8 @@ private: /// Updates the pages corresponding to this VMA so they match the VMA's attributes. void UpdatePageTableForVMA(const VirtualMemoryArea& vma); - GPUVAddr FindFreeRegion(GPUVAddr region_start, u64 size, u64 align, - VirtualMemoryArea::Type vma_type); + /// Finds a free (unmapped region) of the specified size starting at the specified address. + GPUVAddr FindFreeRegion(GPUVAddr region_start, u64 size); private: static constexpr u64 page_bits{16}; |