summaryrefslogtreecommitdiff
path: root/src/common/host_memory.cpp
diff options
context:
space:
mode:
authorGravatar lat9nq2021-06-19 04:38:33 -0400
committerGravatar lat9nq2021-06-19 04:38:33 -0400
commit9a06b85b240fa72564bcfeacddef71459f0493d3 (patch)
tree57819bf25691e5010624decaaaa8f1fbd7c22868 /src/common/host_memory.cpp
parentMerge pull request #6484 from CaptV0rt3x/discord-rpc (diff)
downloadyuzu-9a06b85b240fa72564bcfeacddef71459f0493d3.tar.gz
yuzu-9a06b85b240fa72564bcfeacddef71459f0493d3.tar.xz
yuzu-9a06b85b240fa72564bcfeacddef71459f0493d3.zip
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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/host_memory.cpp b/src/common/host_memory.cpp
index 8bd70abc7..2a5a7596c 100644
--- a/src/common/host_memory.cpp
+++ b/src/common/host_memory.cpp
@@ -34,7 +34,7 @@ constexpr size_t HugePageSize = 0x200000;
34 34
35// Manually imported for MinGW compatibility 35// Manually imported for MinGW compatibility
36#ifndef MEM_RESERVE_PLACEHOLDER 36#ifndef MEM_RESERVE_PLACEHOLDER
37#define MEM_RESERVE_PLACEHOLDER 0x0004000 37#define MEM_RESERVE_PLACEHOLDER 0x00040000
38#endif 38#endif
39#ifndef MEM_REPLACE_PLACEHOLDER 39#ifndef MEM_REPLACE_PLACEHOLDER
40#define MEM_REPLACE_PLACEHOLDER 0x00004000 40#define MEM_REPLACE_PLACEHOLDER 0x00004000