summaryrefslogtreecommitdiff
path: root/Source/Core/Common/MemoryUtil.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-09-08 01:44:37 -0400
committerLioncash <mathew1800@gmail.com>2015-09-11 09:49:00 -0400
commit19459e827f6c15f9429598015019ecb66f2e6cad (patch)
tree61dac757115325ce01694429c6864fd99903ace9 /Source/Core/Common/MemoryUtil.cpp
parent3014feedc839d69931079ad3c4f645ef51055e1a (diff)
Partially revert "General: Toss out PRI macro usage"
Diffstat (limited to 'Source/Core/Common/MemoryUtil.cpp')
-rw-r--r--Source/Core/Common/MemoryUtil.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/Core/Common/MemoryUtil.cpp b/Source/Core/Common/MemoryUtil.cpp
index c2befe56a6..ea9ca7d625 100644
--- a/Source/Core/Common/MemoryUtil.cpp
+++ b/Source/Core/Common/MemoryUtil.cpp
@@ -64,9 +64,6 @@ void* AllocateExecutableMemory(size_t size, bool low)
, -1, 0);
#endif /* defined(_WIN32) */
- // printf("Mapped executable memory at %p (size %ld)\n", ptr,
- // (unsigned long)size);
-
#ifdef _WIN32
if (ptr == nullptr)
{
@@ -84,7 +81,6 @@ void* AllocateExecutableMemory(size_t size, bool low)
{
map_hint += size;
map_hint = (char*)round_page(map_hint); /* round up to the next page */
- // printf("Next map will (hopefully) be at %p\n", map_hint);
}
}
#endif
@@ -125,9 +121,6 @@ void* AllocateAlignedMemory(size_t size, size_t alignment)
ERROR_LOG(MEMMAP, "Failed to allocate aligned memory");
#endif
- // printf("Mapped memory at %p (size %ld)\n", ptr,
- // (unsigned long)size);
-
if (ptr == nullptr)
PanicAlert("Failed to allocate aligned memory");