Explicitly cast boolean (nw)

This commit is contained in:
angelosa 2017-08-16 21:09:59 +02:00
parent a181c25c83
commit 3159d52e2f

View File

@ -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);
}
}