mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
arcadia, mpu4, tumbleb, vectrex: initialized some variables that were causing crashes in drvnoclear builds
This commit is contained in:
parent
1dbaa23d64
commit
f1fa919614
@ -2115,6 +2115,8 @@ MACHINE_RESET_MEMBER(tumbleb_state,tumbleb)
|
||||
m_music_is_playing = 0;
|
||||
m_tilebank = 0;
|
||||
memset(m_control_0, 0, sizeof(m_control_0));
|
||||
m_protbase = 0;
|
||||
m_semicom_prot_offset = 0;
|
||||
}
|
||||
|
||||
void tumbleb_state::tumblepb(machine_config &config)
|
||||
|
@ -132,6 +132,7 @@ public:
|
||||
, m_mpu4leds(*this, "mpu4led%u", 0U)
|
||||
, m_digits(*this, "digit%u", 0U)
|
||||
, m_triacs(*this, "triac%u", 0U)
|
||||
, m_current_chr_table(nullptr)
|
||||
{ }
|
||||
|
||||
void init_m4default_alt();
|
||||
|
@ -311,6 +311,7 @@ void arcadia_state::video_start()
|
||||
|
||||
m_line = 0;
|
||||
std::fill(std::begin(m_reg.d.pal), std::end(m_reg.d.pal), 0);
|
||||
m_shift = 0;
|
||||
}
|
||||
|
||||
uint8_t arcadia_state::video_r(offs_t offset)
|
||||
|
@ -251,6 +251,7 @@ void vectrex_base_state::video_start()
|
||||
m_ramp = 0;
|
||||
std::fill(std::begin(m_analog), std::end(m_analog), 0);
|
||||
m_point_index = 0;
|
||||
m_lightpen_down = 0;
|
||||
}
|
||||
|
||||
void vectrex_state::video_start()
|
||||
|
Loading…
Reference in New Issue
Block a user