mirror of
https://github.com/holub/mame
synced 2025-04-28 19:14:55 +03:00
Fixing bug that caused render_manager::is_live() to always return true for
screen 0
This commit is contained in:
parent
522759c895
commit
efba74d06b
@ -2541,7 +2541,7 @@ bool render_manager::is_live(screen_device &screen) const
|
|||||||
{
|
{
|
||||||
// iterate over all live targets and or together their screen masks
|
// iterate over all live targets and or together their screen masks
|
||||||
for (render_target *target = m_targetlist.first(); target != NULL; target = target->next())
|
for (render_target *target = m_targetlist.first(); target != NULL; target = target->next())
|
||||||
if (target->view_screens(target->view()).contains(screen))
|
if (!target->hidden() && target->view_screens(target->view()).contains(screen))
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user