nebula Romdata
GfxCrypt: 2
GfxKey: D
ButLayout: 9
Fix: 27
to mame driver
is this what you're looking for?
DRIVER_INIT( samsh5sp )
{
UINT8 *src = memory_region(REGION_CPU1);
UINT8 *dst = malloc(0x800000);
int i;
unsigned int sec[]={0x0,0x1,0xA,0x9,0xC,0xB,0xE,0x5,0x2,0xD,0x8,0xF,0x4,0x7,0x6,0x3};
if (dst)
{
memcpy(dst,src,0x800000);
for(i=0;i<0x10;i++)
{
memcpy(src+i*0x80000,dst+sec[i]*0x80000,0x80000);
}
free(dst);
}
neogeo_fix_bank_type = 1;
kof2000_neogeo_gfx_decrypt(0x0d);
init_neogeo();
}