mirror of
https://github.com/holub/mame
synced 2025-04-16 05:24:54 +03:00
imagetek_i4100_device: Add some missing initializations, hopefully fixing random metro.cpp crashes at startup
This commit is contained in:
parent
057969e8c2
commit
2cd35edee2
@ -371,6 +371,25 @@ void imagetek_i4100_device::device_start()
|
||||
|
||||
void imagetek_i4100_device::device_reset()
|
||||
{
|
||||
m_rombank = 0;
|
||||
m_crtc_unlock = false;
|
||||
m_sprite_count = 0;
|
||||
m_sprite_priority = 0;
|
||||
m_sprite_xoffset = 0;
|
||||
m_sprite_yoffset = 0;
|
||||
m_sprite_color_code = 0;
|
||||
|
||||
for(int i=0; i != 3; i++) {
|
||||
m_layer_priority[i] = 0;
|
||||
m_layer_tile_select[i] = false;
|
||||
}
|
||||
|
||||
m_background_color = 0;
|
||||
m_screen_xoffset = 0;
|
||||
m_screen_yoffset = 0;
|
||||
m_screen_blank = false;
|
||||
m_screen_flip = false;
|
||||
|
||||
expand_gfx1();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user