mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 06:00:15 +02:00
Merge pull request #5507 from Sonicadvance1/155
CodeCache: Resolve comment https://github.com/FEX-Emu/FEX/pull/5441#discussion_r3255384588
This commit is contained in:
1 file changed
+1
-1
@@ -47,7 +47,7 @@ MappedCodeCacheFile::~MappedCodeCacheFile() {
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
if (CodeBuffer.empty()) {
|
||||
if (!CodeBuffer.empty()) {
|
||||
FEXCore::Allocator::munmap(CodeBuffer.data(), CodeBuffer.size_bytes());
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user