sharrier: Better protection simulation [Adrian Smethurst]

This commit is contained in:
Olivier Galibert 2020-03-09 15:44:02 +01:00 committed by Olivier Galibert
parent fcc6204cdc
commit dc79c12775

View File

@ -318,8 +318,8 @@ void segahang_state::sharrier_i8751_sim()
// signal a VBLANK to the main CPU
m_maincpu->set_input_line(4, HOLD_LINE);
// clear add lifes protection flag
m_workram[0x0f0/2] = 0;
// disable timer-based protection
m_workram[0x090/2] = 1;
// read I/O ports
m_workram[0x492/2] = (m_adc_ports[0]->read() << 8) | m_adc_ports[1]->read();