mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
Explicitly cast boolean (nw)
This commit is contained in:
parent
a181c25c83
commit
3159d52e2f
@ -419,7 +419,7 @@ READ32_MEMBER(deco32_state::irq_controller_r)
|
||||
{
|
||||
/* ZV03082007 - video_screen_get_vblank() doesn't work for Captain America, as it expects
|
||||
that this bit is NOT set in rows 0-7. */
|
||||
bool hvblank = m_screen->vblank() & m_screen->hblank();
|
||||
bool hvblank = bool(m_screen->vblank() & m_screen->hblank());
|
||||
return 0xffffff80 | hvblank | m_screen->vblank()<<1 | (m_irq_cause);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user