Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/fceux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorharry <hrosen2016@gmail.com>2022-08-24 01:18:25 +0300
committerharry <hrosen2016@gmail.com>2022-08-24 01:18:25 +0300
commitb97b24a5e94f7549d25e3ab212de964756d16462 (patch)
treec34f38e5f99e024b517c5babbcd28e04dff30f03
parent892e7cb5f5fbaed703243c6cf2bba6fda4f72fa3 (diff)
Fix for unix build, aligned_free does not exist in unix should use plain free instead.
-rw-r--r--src/utils/memory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/memory.cpp b/src/utils/memory.cpp
index e0eaf188..5ed626ea 100644
--- a/src/utils/memory.cpp
+++ b/src/utils/memory.cpp
@@ -52,7 +52,7 @@ static void _FCEU_free(void* ptr)
#ifdef _MSC_VER
_aligned_free(ptr);
#else
- aligned_free(ptr);
+ free(ptr);
#endif
}