mirror of https://github.com/mgba-emu/mgba.git
Fix mappedMemoryFree on *nix
This commit is contained in:
parent
dd1f1bc79e
commit
270c1a35d7
|
@ -44,6 +44,6 @@ void* fileMemoryMap(int fd, size_t size, int flags) {
|
|||
}
|
||||
|
||||
void mappedMemoryFree(void* memory, size_t size) {
|
||||
munmap(memory, memory);
|
||||
munmap(memory, size);
|
||||
}
|
||||
#endif
|
Loading…
Reference in New Issue