diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-08-07 13:03:07 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-08-07 13:03:07 -0400 |
| commit | e01c143379cac68dccdcb00db195b218e500b1c8 (patch) | |
| tree | 266a9ba5dd8507795c3124eb26865a2be075c35b /Source/Core/Common/MemoryUtil.cpp | |
| parent | 1ab99ee22c1b6ae1b6d71aef717f277f39045067 (diff) | |
Common: namespace MemoryUtil
Diffstat (limited to 'Source/Core/Common/MemoryUtil.cpp')
| -rw-r--r-- | Source/Core/Common/MemoryUtil.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/Common/MemoryUtil.cpp b/Source/Core/Common/MemoryUtil.cpp index 1941f8e35b..ce0d38cbcb 100644 --- a/Source/Core/Common/MemoryUtil.cpp +++ b/Source/Core/Common/MemoryUtil.cpp @@ -31,6 +31,9 @@ // Uncomment the following line to be able to run Dolphin in Valgrind. //#undef MAP_32BIT +namespace Common +{ + #if !defined(_WIN32) #include <unistd.h> static uintptr_t RoundPage(uintptr_t addr) @@ -273,3 +276,5 @@ size_t MemPhysical() return (size_t)memInfo.totalram * memInfo.mem_unit; #endif } + +} // namespace Common |
