diff options
author | harry <hrosen2016@gmail.com> | 2022-08-24 01:18:25 +0300 |
---|---|---|
committer | harry <hrosen2016@gmail.com> | 2022-08-24 01:18:25 +0300 |
commit | b97b24a5e94f7549d25e3ab212de964756d16462 (patch) | |
tree | c34f38e5f99e024b517c5babbcd28e04dff30f03 | |
parent | 892e7cb5f5fbaed703243c6cf2bba6fda4f72fa3 (diff) |
Fix for unix build, aligned_free does not exist in unix should use plain free instead.
-rw-r--r-- | src/utils/memory.cpp | 2 |
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 } |