mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
added device_reset
This commit is contained in:
parent
1f92dd5452
commit
10519dead7
@ -415,6 +415,20 @@ void intelfsh_device::device_start()
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_reset - device-specific reset
|
||||
//-------------------------------------------------
|
||||
|
||||
void intelfsh_device::device_reset()
|
||||
{
|
||||
m_status = 0x80;
|
||||
m_flash_mode = FM_NORMAL;
|
||||
m_flash_master_lock = false;
|
||||
|
||||
m_timer->adjust(attotime::never);
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_timer - handler timer events
|
||||
//-------------------------------------------------
|
||||
|
@ -122,6 +122,7 @@ protected:
|
||||
protected:
|
||||
// device-level overrides
|
||||
virtual void device_start();
|
||||
virtual void device_reset();
|
||||
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
|
||||
|
||||
// device_memory_interface overrides
|
||||
|
Loading…
Reference in New Issue
Block a user