mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
(MESS) Fixed geniusiq.c regression. (nw)
This commit is contained in:
parent
6ec29c5c30
commit
c14ed16be5
@ -418,7 +418,7 @@ WRITE16_MEMBER(geniusiq_state::gfx_base_w)
|
|||||||
|
|
||||||
WRITE16_MEMBER(geniusiq_state::gfx_idx_w)
|
WRITE16_MEMBER(geniusiq_state::gfx_idx_w)
|
||||||
{
|
{
|
||||||
UINT16 *gfx = ((UINT16 *)(*memregion("maincpu"))) + ((m_gfx_base + data*32)>>1);
|
UINT16 *gfx = ((UINT16 *)(*memregion("maincpu"))) + ((m_gfx_base + (data & 0xff)*32)>>1);
|
||||||
|
|
||||||
// first 16 bits are used to define the character size
|
// first 16 bits are used to define the character size
|
||||||
UINT8 gfx_heigh = (gfx[0]>>0) & 0xff;
|
UINT8 gfx_heigh = (gfx[0]>>0) & 0xff;
|
||||||
|
Loading…
Reference in New Issue
Block a user