mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
Common: namespace MemoryUtil
This commit is contained in:
parent
1ab99ee22c
commit
e01c143379
15 changed files with 50 additions and 40 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue