bfm_sc2: Coverity 316034,315508

This commit is contained in:
Robbbert 2021-02-14 02:27:09 +11:00
parent b8354a4a5f
commit 2604f15c10
2 changed files with 2 additions and 1 deletions

View File

@ -996,6 +996,7 @@ void bfm_sc2_state::payout_triac_w(uint8_t data)
if ( slide )
{
slide--; // slide_pay_sensor index is 0 to 5, so decrement now.
if ( data == 0x4D )
{
if ( !m_slide_states[slide] )

View File

@ -641,7 +641,7 @@ uint16_t highvdeo_state::grancapi_status_r(offs_t offset)
resetpulse^=0x20;
return 3 | resetpulse;
case 2: return (m_grancapi_prot_latch & 3)|0x17; //and 0x3f
case 2: return (m_grancapi_prot_latch & 3)|0x17; //and 0x3f // This will always return 0x17: Coverity 316053
}
return 0;