mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
bfm_sc2: Coverity 316034,315508
This commit is contained in:
parent
b8354a4a5f
commit
2604f15c10
@ -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] )
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user