VERY experimental Nintendo Switch 2 emulator
C++
memory_util: Remove unnecessary assignment in FreeMemoryPages
Lioncashf28802e883a4
diff --git a/src/common/memory_util.cpp b/src/common/memory_util.cppindex fc6696a362..07c7f79c8a 100644--- a/src/common/memory_util.cpp+++ b/src/common/memory_util.cpp@@ -121,11 +121,8 @@ void FreeMemoryPages(void* ptr, size_t size)if (ptr){#ifdef _WIN32-if (!VirtualFree(ptr, 0, MEM_RELEASE))LOG_ERROR(Common_Memory, "FreeMemoryPages failed!\n%s", GetLastErrorMsg());- ptr = nullptr; // Is this our responsibility?-#elsemunmap(ptr, size);#endif