From 362eddc283953b384bf79e24c31640a610f94e2d Mon Sep 17 00:00:00 2001 From: "Paul \"Dettorer\" Hervot" Date: Sun, 29 Nov 2015 10:06:55 +0100 Subject: [PATCH] Memory_util: Remove unused function argument --- src/common/memory_util.cpp | 2 +- src/common/memory_util.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/memory_util.cpp b/src/common/memory_util.cpp index 07c7f79c8..675898133 100644 --- a/src/common/memory_util.cpp +++ b/src/common/memory_util.cpp @@ -25,7 +25,7 @@ // This is purposely not a full wrapper for virtualalloc/mmap, but it // provides exactly the primitive operations that Dolphin needs. -void* AllocateExecutableMemory(size_t size, bool low) +void* AllocateExecutableMemory(size_t size) { #if defined(_WIN32) void* ptr = VirtualAlloc(nullptr, size, MEM_COMMIT, PAGE_EXECUTE_READWRITE); diff --git a/src/common/memory_util.h b/src/common/memory_util.h index 9bf37c44f..5e95a4f1e 100644 --- a/src/common/memory_util.h +++ b/src/common/memory_util.h @@ -7,7 +7,7 @@ #include #include -void* AllocateExecutableMemory(size_t size, bool low = true); +void* AllocateExecutableMemory(size_t size); void* AllocateMemoryPages(size_t size); void FreeMemoryPages(void* ptr, size_t size); void* AllocateAlignedMemory(size_t size,size_t alignment);