Fix "comparison is always true due to limited range of data type" warning on OS X -nw-

This commit is contained in:
Phil Bennett 2012-12-17 11:32:00 +00:00
parent 6a9e385865
commit deedd775b9

View File

@ -150,7 +150,7 @@ public:
} }
DECLARE_WRITE8_MEMBER(ppi8255_intf_a_write_c_strobe) DECLARE_WRITE8_MEMBER(ppi8255_intf_a_write_c_strobe)
{ {
if ((data>=0xf0) && (data<=0xff)) if (data>=0xf0)
{ {
// logerror("%04x - ppi8255_intf_a_(used)write_c %02x (STROBE?)\n", machine().device("maincpu")->safe_pcbase(), data); // logerror("%04x - ppi8255_intf_a_(used)write_c %02x (STROBE?)\n", machine().device("maincpu")->safe_pcbase(), data);
strobe_addr = data & 0xf; strobe_addr = data & 0xf;