mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-07-03 23:00:46 -07:00
Move to GetGlobalTimeNs, fix GetTotalPhysicalMemoryAvailable
This commit is contained in:
@ -154,7 +154,7 @@ void Process::DecrementThreadCount() {
|
||||
}
|
||||
|
||||
u64 Process::GetTotalPhysicalMemoryAvailable() const {
|
||||
const u64 capacity{resource_limit->GetCurrentValue(LimitableResource::PhysicalMemoryMax) +
|
||||
const u64 capacity{resource_limit->GetFreeValue(LimitableResource::PhysicalMemoryMax) +
|
||||
page_table->GetTotalHeapSize() + GetSystemResourceSize() + image_size +
|
||||
main_thread_stack_size};
|
||||
|
||||
|
Reference in New Issue
Block a user