--- a/src/mem.h Mon Oct 08 12:09:06 2007 +0000 +++ b/src/mem.h Sun Oct 28 07:36:11 2007 +0000 @@ -1,5 +1,5 @@ /** - * $Id: mem.h,v 1.13 2007-10-08 12:06:01 nkeynes Exp $ + * $Id: mem.h,v 1.14 2007-10-27 05:47:55 nkeynes Exp $ * * mem is responsible for creating and maintaining the overall system memory * map, as visible from the SH4 processor. (Note the ARM has a different map) @@ -48,7 +48,8 @@ void *mem_create_ram_region( uint32_t base, uint32_t size, const char *name ); void *mem_create_repeating_ram_region( uint32_t base, uint32_t size, const char *name, uint32_t repeat_offset, uint32_t last_repeat ); -void *mem_load_rom( const gchar *name, uint32_t base, uint32_t size, uint32_t crc ); +void *mem_load_rom( const gchar *name, uint32_t base, uint32_t size, uint32_t crc, + const gchar *region_name ); void *mem_alloc_pages( int n ); char *mem_get_region( uint32_t addr ); char *mem_get_region_by_name( const char *name );