mirror of
https://github.com/holub/mame
synced 2025-07-03 09:06:08 +03:00
tmnt.cpp, taito_f3.cpp: initialized some variables that were causing crashes / asserts in drvnoclear builds
This commit is contained in:
parent
8196ce8962
commit
9b4a8f3ad4
@ -2541,6 +2541,8 @@ void tmnt_state::sunsetbl(machine_config &config)
|
||||
m_palette->enable_shadows();
|
||||
m_palette->enable_hilights();
|
||||
|
||||
MCFG_VIDEO_START_OVERRIDE(tmnt_state,lgtnfght)
|
||||
|
||||
K052109(config, m_k052109, 0);
|
||||
m_k052109->set_palette(m_palette);
|
||||
m_k052109->set_screen(nullptr);
|
||||
|
@ -502,6 +502,7 @@ void taito_f3_state::video_start()
|
||||
m_tilemap[1] = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(*this, FUNC(taito_f3_state::get_tile_info<1>)), TILEMAP_SCAN_ROWS, 16, 16, 64, 32);
|
||||
m_tilemap[2] = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(*this, FUNC(taito_f3_state::get_tile_info<2>)), TILEMAP_SCAN_ROWS, 16, 16, 64, 32);
|
||||
m_tilemap[3] = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(*this, FUNC(taito_f3_state::get_tile_info<3>)), TILEMAP_SCAN_ROWS, 16, 16, 64, 32);
|
||||
m_tilemap[4] = m_tilemap[5] = m_tilemap[6] = m_tilemap[7] = nullptr;
|
||||
|
||||
m_pf_data[0] = m_pf_ram + (0x0000 / 2);
|
||||
m_pf_data[1] = m_pf_ram + (0x2000 / 2);
|
||||
|
Loading…
Reference in New Issue
Block a user