mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Avoid illegal available_user_memory in sys_memory (#4399)
jarveson says "the comment and minus can be completely deleted/reverted" in 17cf24d0ed
This commit is contained in:
parent
036448ac3f
commit
27004eb934
1 changed files with 1 additions and 5 deletions
|
@ -273,11 +273,7 @@ error_code sys_memory_container_get_size(vm::ptr<sys_memory_info_t> mem_info, u3
|
|||
}
|
||||
|
||||
mem_info->total_user_memory = ct->size; // Total container memory
|
||||
// Available container memory, minus a hidden 'buffer'
|
||||
// This buffer seems to be used by the PS3 OS for c style 'mallocs'
|
||||
// Todo: Research this more, even though we dont use this buffer, it helps out games when calculating
|
||||
// expected memory they can use allowing them to boot
|
||||
mem_info->available_user_memory = ct->size - ct->used - 0x1000000;
|
||||
mem_info->available_user_memory = ct->size - ct->used; // Available container memory
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue