Partially revert "General: Toss out PRI macro usage"

This commit is contained in:
Lioncash
2015-09-08 01:44:37 -04:00
parent 3014feedc8
commit 19459e827f
36 changed files with 63 additions and 74 deletions

View File

@ -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");