mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Common: namespace MemoryUtil
This commit is contained in:
parent
1ab99ee22c
commit
e01c143379
15 changed files with 50 additions and 40 deletions
|
@ -141,7 +141,7 @@ void HiresTexture::Prefetch()
|
|||
Common::SetCurrentThreadName("Prefetcher");
|
||||
|
||||
size_t size_sum = 0;
|
||||
size_t sys_mem = MemPhysical();
|
||||
size_t sys_mem = Common::MemPhysical();
|
||||
size_t recommended_min_mem = 2 * size_t(1024 * 1024 * 1024);
|
||||
// keep 2GB memory for system stability if system RAM is 4GB+ - use half of memory in other cases
|
||||
size_t max_mem =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue