mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
vm: Minor optimization for memory serialization
This commit is contained in:
parent
ac19a50f5f
commit
f8ca5cdf56
2 changed files with 21 additions and 8 deletions
|
|
@ -453,9 +453,9 @@ namespace utils
|
|||
// Execute only if past memory is known to not going be reused
|
||||
void breathe(bool forced = false)
|
||||
{
|
||||
if (!forced && (!m_file_handler || (data.size() < 0x20'0000 && pos >= data_offset)))
|
||||
if (!forced && (!m_file_handler || (data.size() < 0x100'0000 && pos >= data_offset)))
|
||||
{
|
||||
// Let's not do anything if less than 32MB
|
||||
// Let's not do anything if less than 16MB
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue