diff options
| author | 2015-09-11 23:12:28 -0400 | |
|---|---|---|
| committer | 2015-09-11 23:12:28 -0400 | |
| commit | 3972ac40eff770495cf1f29ed194c1351ed96135 (patch) | |
| tree | 796b5b1cb7f618915e8fc859fe089f78889f0d3a /src/common/memory_util.cpp | |
| parent | general: Replace 0 literals with nullptr where applicable (diff) | |
| download | yuzu-3972ac40eff770495cf1f29ed194c1351ed96135.tar.gz yuzu-3972ac40eff770495cf1f29ed194c1351ed96135.tar.xz yuzu-3972ac40eff770495cf1f29ed194c1351ed96135.zip | |
memory_util: Remove commented out printf statements
Diffstat (limited to 'src/common/memory_util.cpp')
| -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) | |||
| 49 | , -1, 0); | 49 | , -1, 0); |
| 50 | #endif /* defined(_WIN32) */ | 50 | #endif /* defined(_WIN32) */ |
| 51 | 51 | ||
| 52 | // printf("Mapped executable memory at %p (size %ld)\n", ptr, | ||
| 53 | // (unsigned long)size); | ||
| 54 | |||
| 55 | #ifdef _WIN32 | 52 | #ifdef _WIN32 |
| 56 | if (ptr == nullptr) | 53 | if (ptr == nullptr) |
| 57 | { | 54 | { |
| @@ -69,7 +66,6 @@ void* AllocateExecutableMemory(size_t size, bool low) | |||
| 69 | { | 66 | { |
| 70 | map_hint += size; | 67 | map_hint += size; |
| 71 | map_hint = (char*)round_page(map_hint); /* round up to the next page */ | 68 | map_hint = (char*)round_page(map_hint); /* round up to the next page */ |
| 72 | // printf("Next map will (hopefully) be at %p\n", map_hint); | ||
| 73 | } | 69 | } |
| 74 | } | 70 | } |
| 75 | #endif | 71 | #endif |
| @@ -94,9 +90,6 @@ void* AllocateMemoryPages(size_t size) | |||
| 94 | ptr = nullptr; | 90 | ptr = nullptr; |
| 95 | #endif | 91 | #endif |
| 96 | 92 | ||
| 97 | // printf("Mapped memory at %p (size %ld)\n", ptr, | ||
| 98 | // (unsigned long)size); | ||
| 99 | |||
| 100 | if (ptr == nullptr) | 93 | if (ptr == nullptr) |
| 101 | LOG_ERROR(Common_Memory, "Failed to allocate raw memory"); | 94 | LOG_ERROR(Common_Memory, "Failed to allocate raw memory"); |
| 102 | 95 | ||
| @@ -117,9 +110,6 @@ void* AllocateAlignedMemory(size_t size,size_t alignment) | |||
| 117 | #endif | 110 | #endif |
| 118 | #endif | 111 | #endif |
| 119 | 112 | ||
| 120 | // printf("Mapped memory at %p (size %ld)\n", ptr, | ||
| 121 | // (unsigned long)size); | ||
| 122 | |||
| 123 | if (ptr == nullptr) | 113 | if (ptr == nullptr) |
| 124 | LOG_ERROR(Common_Memory, "Failed to allocate aligned memory"); | 114 | LOG_ERROR(Common_Memory, "Failed to allocate aligned memory"); |
| 125 | 115 | ||