aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/memory_manager.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-20 23:12:28 -0400
committerbunnei <bunneidev@gmail.com>2019-03-20 23:12:28 -0400
commit2117edd0f848cd7bc35bdbb1495ca10649715625 (patch)
tree6befcf08e4457543fc3fab9b9fc1deb2a76d6783 /src/video_core/memory_manager.h
parent5a5fccaa23f8670d85666efd6ea12b42883c4edc (diff)
memory_manager: Cleanup FindFreeRegion.
Diffstat (limited to 'src/video_core/memory_manager.h')
-rw-r--r--src/video_core/memory_manager.h4
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};