mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
MemoryManager: Temporary Fix for NVDEC.
This commit is contained in:
parent
835b950f7e
commit
0f4ae3cc52
@ -125,7 +125,7 @@ std::optional<GPUVAddr> MemoryManager::FindFreeRange(std::size_t size, std::size
|
|||||||
}
|
}
|
||||||
|
|
||||||
u64 available_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) {
|
while (gpu_addr + available_size < address_space_size) {
|
||||||
if (GetEntry(gpu_addr + available_size) == EntryType::Free) {
|
if (GetEntry(gpu_addr + available_size) == EntryType::Free) {
|
||||||
available_size += page_size;
|
available_size += page_size;
|
||||||
|
Loading…
Reference in New Issue
Block a user