mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
Fix minor inconsistency in utils::memory_reset (Linux)
This commit is contained in:
parent
9dc238187f
commit
ad1027455a
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ namespace utils
|
|||
}
|
||||
}
|
||||
|
||||
ensure(::madvise(reinterpret_cast<void*>(ptr64 & -4096), size + (ptr64 & 4095), MADV_WILLNEED) != -1);
|
||||
ensure(::madvise(reinterpret_cast<void*>(ptr64 & -4096), size + (ptr64 & 4095), MADV_WILLNEED | c_madv_dump) != -1);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue