1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00

Fix minor inconsistency in utils::memory_reset (Linux)

This commit is contained in:
Nekotekina 2021-02-22 12:43:40 +03:00
parent 9dc238187f
commit ad1027455a

View File

@ -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
}