mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
interpro: Coverity 315916
This commit is contained in:
parent
5569db9be3
commit
3e4cf534db
@ -896,7 +896,8 @@ void edge2plus_processor_device_base::kernel_w(offs_t offset, u32 data, u32 mem_
|
|||||||
|
|
||||||
u32 edge2plus_processor_device_base::reg0_r()
|
u32 edge2plus_processor_device_base::reg0_r()
|
||||||
{
|
{
|
||||||
LOG("reg0_r vblank %d\n", m_screen->vblank());
|
if (m_screen)
|
||||||
|
LOG("reg0_r vblank %d\n", m_screen->vblank());
|
||||||
|
|
||||||
return (m_screen == nullptr) ? (m_reg0 & ~VBLANK) : ((m_reg0 & ~VBLANK) | (m_screen->vblank() ? VBLANK : 0));
|
return (m_screen == nullptr) ? (m_reg0 & ~VBLANK) : ((m_reg0 & ~VBLANK) | (m_screen->vblank() ? VBLANK : 0));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user