diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-06-19 04:38:33 -0400 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2021-06-19 04:38:33 -0400 |
commit | 9a06b85b240fa72564bcfeacddef71459f0493d3 (patch) | |
tree | 57819bf25691e5010624decaaaa8f1fbd7c22868 /src/common/host_memory.cpp | |
parent | 3870ba670f6787de976c785ba95d76ee518823b9 (diff) |
host_memory: Correct MEM_RESERVE_PLACEHOLDER
Microsoft defines `MEM_RESERVE_PLACEHOLDER` as `0x00040000`, but our
manually imported version of it drops the last zero.
Diffstat (limited to 'src/common/host_memory.cpp')
-rw-r--r-- | src/common/host_memory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/host_memory.cpp b/src/common/host_memory.cpp index 8bd70abc79..2a5a7596c1 100644 --- a/src/common/host_memory.cpp +++ b/src/common/host_memory.cpp @@ -34,7 +34,7 @@ constexpr size_t HugePageSize = 0x200000; // Manually imported for MinGW compatibility #ifndef MEM_RESERVE_PLACEHOLDER -#define MEM_RESERVE_PLACEHOLDER 0x0004000 +#define MEM_RESERVE_PLACEHOLDER 0x00040000 #endif #ifndef MEM_REPLACE_PLACEHOLDER #define MEM_REPLACE_PLACEHOLDER 0x00004000 |