mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
fix regression (nw)
This commit is contained in:
parent
dd0c5af36f
commit
2eefb3f25c
@ -231,7 +231,8 @@ void namco_c45_road_device::draw(bitmap_ind16 &bitmap, const rectangle &cliprect
|
||||
|
||||
void namco_c45_road_device::device_start()
|
||||
{
|
||||
m_clut = memregion("clut")->base();
|
||||
if (memregion("clut") != nullptr)
|
||||
m_clut = memregion("clut")->base();
|
||||
|
||||
// create a tilemap for the road
|
||||
m_tilemap = &machine().tilemap().create(*this, tilemap_get_info_delegate(FUNC(namco_c45_road_device::get_road_info), this),
|
||||
|
Loading…
Reference in New Issue
Block a user