Super Nove: Better approach decoding GFX2 bank.

Green is OK. Red needs normal goldstar order...
This commit is contained in:
RobertoFresca 2016-02-18 15:48:15 -03:00
parent 45e0963e6c
commit b81c20910f

View File

@ -6763,6 +6763,21 @@ static const gfx_layout super9_charlayout =
32*8 /* every char takes 32 consecutive bytes */
};
static const gfx_layout super9_tilelayout = // Green is OK. Red needs normal goldstar order...
{
8,32, /* 8*32 characters */
256, /* 256 tiles */
4, /* 4 bits per pixel */
{ 0, 2, 4, 6 },
{ 1, 0, 1*8+1, 1*8+0, 2*8+1, 2*8+0, 3*8+1, 3*8+0 },
{ 0*8, 4*8, 8*8, 12*8, 16*8, 20*8, 24*8, 28*8,
32*8, 36*8, 40*8, 44*8, 48*8, 52*8, 56*8, 60*8,
64*8, 68*8, 72*8, 76*8, 80*8, 84*8, 88*8, 92*8,
96*8, 100*8, 104*8, 108*8, 112*8, 116*8, 120*8, 124*8 },
128*8 /* every char takes 128 consecutive bytes */
};
static GFXDECODE_START( goldstar )
GFXDECODE_ENTRY( "gfx1", 0, charlayout, 0, 16 )
@ -6864,7 +6879,7 @@ GFXDECODE_END
static GFXDECODE_START( super9 )
GFXDECODE_ENTRY( "gfx1", 0, super9_charlayout, 0, 16 )
GFXDECODE_ENTRY( "gfx2", 0, tilelayout, 128, 8 )
GFXDECODE_ENTRY( "gfx2", 0, super9_tilelayout, 128, 8 )
GFXDECODE_END