Core: Fix undefined behavior in mem_map_funcs' WriteBlock function
Merge pull request #53 from lioncash/memmap

Core: Fix undefined behavior in mem_map_funcs' WriteBlock function