mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +03:00
m72.cpp : Simpler gfx layout
This commit is contained in:
parent
876f74461d
commit
ae708bbe08
@ -1820,8 +1820,8 @@ static const gfx_layout tilelayout =
|
||||
RGN_FRAC(1,4), /* NUM characters */
|
||||
4, /* 4 bits per pixel */
|
||||
{ RGN_FRAC(3,4), RGN_FRAC(2,4), RGN_FRAC(1,4), RGN_FRAC(0,4) },
|
||||
{ 0, 1, 2, 3, 4, 5, 6, 7 },
|
||||
{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
|
||||
{ STEP8(0,1) },
|
||||
{ STEP8(0,8) },
|
||||
8*8 /* every char takes 8 consecutive bytes */
|
||||
};
|
||||
|
||||
@ -1831,10 +1831,8 @@ static const gfx_layout spritelayout =
|
||||
RGN_FRAC(1,4), /* NUM characters */
|
||||
4, /* 4 bits per pixel */
|
||||
{ RGN_FRAC(3,4), RGN_FRAC(2,4), RGN_FRAC(1,4), RGN_FRAC(0,4) },
|
||||
{ 0, 1, 2, 3, 4, 5, 6, 7,
|
||||
16*8+0, 16*8+1, 16*8+2, 16*8+3, 16*8+4, 16*8+5, 16*8+6, 16*8+7 },
|
||||
{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8,
|
||||
8*8, 9*8, 10*8, 11*8, 12*8, 13*8, 14*8, 15*8 },
|
||||
{ STEP8(0,1), STEP8(16*8,1) },
|
||||
{ STEP16(0,8) },
|
||||
32*8 /* every sprite takes 32 consecutive bytes */
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user