mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
vk: Fix unused variable error
This commit is contained in:
parent
4b2562d02a
commit
b928cb0223
@ -120,7 +120,7 @@ namespace vk
|
|||||||
const auto type_id = type_ids[i];
|
const auto type_id = type_ids[i];
|
||||||
ensure(heap_size > 0);
|
ensure(heap_size > 0);
|
||||||
|
|
||||||
const u64 used_mem = vmm_get_application_memory_usage({ type_ids[i], 0ull });
|
const u64 used_mem = vmm_get_application_memory_usage({ type_id, 0ull });
|
||||||
const u64 free_mem = (used_mem >= heap_size) ? 0ull : (heap_size - used_mem);
|
const u64 free_mem = (used_mem >= heap_size) ? 0ull : (heap_size - used_mem);
|
||||||
|
|
||||||
to_reorder |= (free_mem > last_free);
|
to_reorder |= (free_mem > last_free);
|
||||||
|
Loading…
Reference in New Issue
Block a user