diff options
author | Lioncash <mathew1800@gmail.com> | 2015-09-12 05:12:28 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-09-12 05:12:28 +0200 |
commit | 3972ac40eff770495cf1f29ed194c1351ed96135 (patch) | |
tree | 796b5b1cb7f618915e8fc859fe089f78889f0d3a | |
parent | general: Replace 0 literals with nullptr where applicable (diff) | |
download | yuzu-3972ac40eff770495cf1f29ed194c1351ed96135.tar yuzu-3972ac40eff770495cf1f29ed194c1351ed96135.tar.gz yuzu-3972ac40eff770495cf1f29ed194c1351ed96135.tar.bz2 yuzu-3972ac40eff770495cf1f29ed194c1351ed96135.tar.lz yuzu-3972ac40eff770495cf1f29ed194c1351ed96135.tar.xz yuzu-3972ac40eff770495cf1f29ed194c1351ed96135.tar.zst yuzu-3972ac40eff770495cf1f29ed194c1351ed96135.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/memory_util.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/common/memory_util.cpp b/src/common/memory_util.cpp index b299b0f0f..fc6696a36 100644 --- a/src/common/memory_util.cpp +++ b/src/common/memory_util.cpp @@ -49,9 +49,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) { @@ -69,7 +66,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 @@ -94,9 +90,6 @@ void* AllocateMemoryPages(size_t size) ptr = nullptr; #endif - // printf("Mapped memory at %p (size %ld)\n", ptr, - // (unsigned long)size); - if (ptr == nullptr) LOG_ERROR(Common_Memory, "Failed to allocate raw memory"); @@ -117,9 +110,6 @@ void* AllocateAlignedMemory(size_t size,size_t alignment) #endif #endif - // printf("Mapped memory at %p (size %ld)\n", ptr, - // (unsigned long)size); - if (ptr == nullptr) LOG_ERROR(Common_Memory, "Failed to allocate aligned memory"); |