Removed tasman gfx hack in core, nw

This commit is contained in:
angelosa 2015-12-22 00:22:39 +01:00
parent 7b25ee5d5a
commit 29dd73ab4d
2 changed files with 3 additions and 19 deletions

View File

@ -565,15 +565,8 @@ static const gfx_layout charlayout8_tasman =
RGN_FRAC(1,1), RGN_FRAC(1,1),
8, 8,
// 0,8,16,24,32,40,48,56 // 0,8,16,24,32,40,48,56
// 0 = 1
// 8 = n
// 16 = 4
// 24 = unused
// 32 = 2
// 40 = nn
// 48 = 8?
{ 56,24,40,8,48,16,32,0 }, { 56,24,40,8,48,16,32,0 },
{ 0,1,2,3,4,5,6,7 }, // bit order probably not exact - note ramp in first 16 tiles { 0,1,2,3,4,5,6,7 },
{ 0*64, 1*64, 2*64, 3*64, 4*64, 5*64, 6*64, 7*64}, { 0*64, 1*64, 2*64, 3*64, 4*64, 5*64, 6*64, 7*64},
8*64 8*64
}; };

View File

@ -2027,16 +2027,7 @@ void k056832_device::create_gfx(const char *gfx_memory_region, int bpp, int big)
int gfx_index; int gfx_index;
int i; int i;
UINT32 total; UINT32 total;
static const gfx_layout charlayout8_tasman =
{
8,8,
RGN_FRAC(1,1),
8,
{ 0,8,16,24,32,40,48,56 },
{ 0,1,2,3,4,5,6,7 },
{ 0*64, 1*64, 2*64, 3*64, 4*64, 5*64, 6*64, 7*64},
8*64
};
static const gfx_layout charlayout8 = static const gfx_layout charlayout8 =
{ {
8, 8, 8, 8,
@ -2141,7 +2132,7 @@ void k056832_device::create_gfx(const char *gfx_memory_region, int bpp, int big)
case K056832_BPP_8TASMAN: case K056832_BPP_8TASMAN:
total = machine().root_device().memregion(gfx_memory_region)->bytes() / (i*8); total = machine().root_device().memregion(gfx_memory_region)->bytes() / (i*8);
konami_decode_gfx(machine(), m_gfxdecode, m_palette, gfx_index, machine().root_device().memregion(gfx_memory_region)->base(), total, &charlayout8_tasman, 8); konami_decode_gfx(machine(), m_gfxdecode, m_palette, gfx_index, machine().root_device().memregion(gfx_memory_region)->base(), total, &charlayout8, 8);
break; break;
case K056832_BPP_4dj: case K056832_BPP_4dj: