mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
chinagat: coverity 315292
This commit is contained in:
parent
6e2cedc937
commit
a65cbf6443
@ -477,7 +477,7 @@ void chinagat_state::saiyugoub1_adpcm_control_w(uint8_t data)
|
||||
}
|
||||
}
|
||||
|
||||
m_adpcm_addr = ((m_adpcm_addr & 0x07fff) | (data & 0x70 << 11));
|
||||
m_adpcm_addr = ((m_adpcm_addr & 0x07fff) | ((data & 0x70) << 11));
|
||||
|
||||
m_pcm_nibble = saiyugoub1_adpcm_rom[m_adpcm_addr & 0x3ffff];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user