mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
fixed "comparison always true due to limited data range"
compile error on old Apple GCC. nw.
This commit is contained in:
parent
d9ee15d4ac
commit
a8373bd21a
@ -292,7 +292,7 @@ WRITE8_MEMBER(maygay1b_state::m1_8279_w)
|
||||
}
|
||||
if ( chip->write_display )
|
||||
{ // Data
|
||||
assert(chip->disp_address >= 0 && chip->disp_address < ARRAY_LENGTH(chip->ram));
|
||||
assert(chip->disp_address < ARRAY_LENGTH(chip->ram));
|
||||
if ( chip->ram[chip->disp_address] != data )
|
||||
{
|
||||
m1_draw_lamps(chip->ram[chip->disp_address],chip->disp_address, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user