mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +03:00
render.cpp: May need to recompute selected view when loading visibility toggle configuration.
This commit is contained in:
parent
36fdc88335
commit
9c974f6b3d
@ -2651,6 +2651,9 @@ void render_target::config_load(util::xml::data_node const &targetnode)
|
||||
view->second &= ~(u32(1) << std::distance(vistoggles.begin(), vistoggle));
|
||||
}
|
||||
}
|
||||
|
||||
if (¤t_view() == &view->first.get())
|
||||
current_view().recompute(visibility_mask(), m_layerconfig.zoom_to_screen());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user