mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-09 21:22:36 +00:00
memmap.c - Cleanup
This commit is contained in:
parent
e6fa079cd9
commit
f7a5479778
@ -150,7 +150,6 @@ int mprotect(void *addr, size_t len, int prot)
|
||||
int memsync(void *start, void *end)
|
||||
{
|
||||
size_t len = (char*)end - (char*)start;
|
||||
(void)len;
|
||||
#if defined(__MACH__) && defined(__arm__)
|
||||
sys_dcache_flush(start ,len);
|
||||
sys_icache_invalidate(start, len);
|
||||
@ -165,6 +164,7 @@ int memsync(void *start, void *end)
|
||||
#endif
|
||||
);
|
||||
#else
|
||||
(void)len;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user