mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-02-01 13:01:49 +01:00
Avoid illegal available_user_memory in sys_memory (#4399)
jarveson says "the comment and minus can be completely deleted/reverted" in 17cf24d0edb0f005166a128bdf40c86afde0662f
This commit is contained in:
parent
036448ac3f
commit
27004eb934
@ -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…
x
Reference in New Issue
Block a user