Search
lxdream.org :: lxdream :: r568:61e7bb716644
lxdream 0.9.1
released Jun 29
Download Now
changeset568:61e7bb716644 lxdream-mmu
parent567:b14dad34c441
child569:a1c49e1e8776
authornkeynes
dateTue Jan 01 10:54:22 2008 +0000 (13 years ago)
branchlxdream-mmu
Fix bios region name in save state (unfortunately will break save states :( )
src/mem.c
1.1 --- a/src/mem.c Tue Jan 01 08:59:34 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 }
.