Fixed some minor coverity warnings

This commit is contained in:
Robbbert 2021-01-07 21:45:44 +11:00
parent 6812f06a95
commit e74bcd7752
3 changed files with 3 additions and 3 deletions

View File

@ -601,6 +601,8 @@ void homelab2_state::machine_start()
m_bank1->set_entry(0);
m_rows = 25;
m_cols = 40;
m_nmi = 0;
m_spr_bit = 0;
}
void homelab3_state::machine_start()

View File

@ -47,6 +47,7 @@ void mikrosha_state::machine_reset()
if (m_cart->exists())
m_maincpu->space(AS_PROGRAM).install_read_handler(0x8000, 0x8000 + m_cart->get_rom_size() - 1, read8sm_delegate(*m_cart, FUNC(generic_slot_device::read_rom)));
radio86_state::machine_reset();
m_mikrosha_font_page = 0;
}
/* Address maps */

View File

@ -223,9 +223,6 @@ void ravens2_state::port1b_w(u8 data)
else
if ((data == 0x0a && m_term_out == 0x20))
data = 0x0a; // LineFeed
else
if ((data == 0x01 && m_term_out == 0xc2))
data = 0x0d; // CarriageReturn
else
data = m_term_out;