Fix crash on Symbian when doing "Return to Menu"

This commit is contained in:
Sacha 2013-02-17 20:21:42 +10:00
parent f6cc766e77
commit a9eb6cf4a4

View File

@ -189,7 +189,7 @@ void MemArena::ReleaseView(void* view, size_t size)
#ifdef _WIN32
UnmapViewOfFile(view);
#elif defined(__SYMBIAN32__)
memmap->Decommit((int)view - (int)memmap->Base(), size);
memmap->Decommit(((int)view - (int)memmap->Base()) & 0x3FFFFFFF, size);
#else
munmap(view, size);
#endif