From b00f50959db2e8f8d15cddfa7ce069c7efd2b1a0 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 24 Jul 2008 05:04:08 +0000 Subject: Get rid of ShuffleDataROMs in namco nb2 Rom loading and address mapping are flexible enough not to need a shuffling/mapping function anymore. OG. --- src/mame/drivers/namconb1.c | 36 +++++++++--------------------------- 1 file changed, 9 insertions(+), 27 deletions(-) diff --git a/src/mame/drivers/namconb1.c b/src/mame/drivers/namconb1.c index 59f63037565..549efa9f887 100644 --- a/src/mame/drivers/namconb1.c +++ b/src/mame/drivers/namconb1.c @@ -488,33 +488,15 @@ static DRIVER_INIT( vshoot ) namcoc7x_on_driver_init(machine); } /* vshoot */ -static void -ShuffleDataROMs( running_machine *machine ) -{ - size_t len = memory_region_length(machine, REGION_USER1)/4; - UINT8 *pMem8 = (UINT8 *)memory_region( machine, REGION_USER1 ); - UINT32 *pMem32 = (UINT32 *)pMem8; - int i; - - for( i=0; i