Search
lxdream.org :: lxdream/src/mem.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/mem.c
changeset 568:61e7bb716644
prev562:e598411b640b
next1065:bc1cc0c54917
author nkeynes
date Tue Jan 01 10:54:22 2008 +0000 (14 years ago)
branchlxdream-mmu
permissions -rw-r--r--
last change Fix bios region name in save state (unfortunately will break save states :( )
file annotate diff log raw
1.1 --- a/src/mem.c Tue Jan 01 05:48:06 2008 +0000
1.2 +++ b/src/mem.c Tue Jan 01 10:54:22 2008 +0000
1.3 @@ -281,7 +281,7 @@
1.4 ERROR( "Unable to allocate ROM memory: %s (%s)", file, strerror(errno) );
1.5 return FALSE;
1.6 }
1.7 - mem_map_region( mem, base, size, file, MEM_FLAG_ROM, size, base );
1.8 + mem_map_region( mem, base, size, region_name, MEM_FLAG_ROM, size, base );
1.9 } else {
1.10 mprotect( mem, size, PROT_READ|PROT_WRITE );
1.11 }
.