mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
(MESS) g7400: Make sure we stay inside ef9340/1 bounds. (nw)
This commit is contained in:
parent
66b9d6f8b2
commit
d2bef384fc
@ -458,7 +458,7 @@ WRITE16_MEMBER(odyssey2_state::scanline_postprocess_g7400)
|
||||
{
|
||||
UINT16 d = bitmap->pix16( vpos, x );
|
||||
|
||||
if ( ( ! m_g7400_ic678_decode[ d & 0x07 ] ) && x >= x_real_start && x < x_real_end && y < 240 )
|
||||
if ( ( ! m_g7400_ic678_decode[ d & 0x07 ] ) && x >= x_real_start && x < x_real_end && y >= 0 && y < 240 )
|
||||
{
|
||||
// Use EF934x input
|
||||
d = ef934x_bitmap->pix16( y, x - x_real_start ) & 0x07;
|
||||
|
Loading…
Reference in New Issue
Block a user