Good Night!
Could someone help me pass the code below for the current version of MAME?
static struct GfxLayout kof10th_layout =
{
8,8, /* 8 x 8 chars */
8192,
4, /* 4 bits per pixel */
{ 0, 1, 2, 3 }, /* planes are packed in a nibble */
{ 33*4, 32*4, 49*4, 48*4, 1*4, 0*4, 17*4, 16*4 },
{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
32*8 /* 32 bytes per char */
};
static WRITE16_HANDLER( kof10th_custom_w )
{
if (!kof10thExtraRAMB[0xFFE]) { // Write to RAM bank A
UINT16 *prom = (UINT16*)memory_region( space->machine, "maincpu" );
COMBINE_DATA(&prom[(0xE0000/2) + (offset & 0xFFFF)]);
} else { // Write S data on-the-fly
UINT8 *srom = memory_region( space->machine, "fixed" );
srom[offset] = BITSWAP8(data,7,6,0,4,3,2,1,5);
decodechar(Machine->gfx[0], offset>>5, prom, Machine->drv->gfxdecodeinfo[0].gfxlayout); <--- ERRO!!!
}
}
I need this code to enable special moves like in Kawaks, when I enable the blows leaves a bug in NEOGEO soon and with this code is 100%
HELP-ME!!!