fixed some incorrect operators and a duplicated game flag reported by Visual Studio Code Analysis (no whatsnew)

This commit is contained in:
Oliver Stöneberg 2012-08-04 09:17:44 +00:00
parent f31cef01e0
commit 9ce1c3ea94
3 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ void mas3507d_device::i2c_scl_w(bool line)
void mas3507d_device::i2c_nak()
{
assert(i2c_bus_state = ACK);
assert(i2c_bus_state == ACK);
i2c_bus_state = NAK;
}

View File

@ -902,7 +902,7 @@ WRITE8_MEMBER(mpu4_state::pia_ic5_porta_w)
{
led_write_latch(state, data & 0x1f, pia_ic4->a_output(),m_input_strobe);
}
else if ((m_led_extender != CARD_A)||(m_led_extender != NO_EXTENDER))
else if ((m_led_extender != CARD_A)&&(m_led_extender != NO_EXTENDER))
{
for(i=0; i<8; i++)
{

View File

@ -532,5 +532,5 @@ static DRIVER_INIT( progolfa )
}
/* Maybe progolf is a bootleg? progolfa uses DECO CPU-6 as custom module CPU (the same as Zoar) */
GAME( 1981, progolf, 0, progolf, progolf, progolf, ROT270, "Data East Corporation", "18 Holes Pro Golf (set 1)", GAME_NO_COCKTAIL | GAME_IMPERFECT_GRAPHICS | GAME_NO_COCKTAIL )
GAME( 1981, progolf, 0, progolf, progolf, progolf, ROT270, "Data East Corporation", "18 Holes Pro Golf (set 1)", GAME_IMPERFECT_GRAPHICS | GAME_NO_COCKTAIL )
GAME( 1981, progolfa, progolf, progolf, progolf, progolfa, ROT270, "Data East Corporation", "18 Holes Pro Golf (set 2)", GAME_NOT_WORKING | GAME_IMPERFECT_GRAPHICS | GAME_NO_COCKTAIL )