mirror of
https://github.com/holub/mame
synced 2025-06-29 23:48:56 +03:00
revert part of previous change, resolving the handlers in device_config_complete() isn't working. (nw)
This commit is contained in:
parent
3614d52b49
commit
1c63fcc6c9
@ -80,7 +80,14 @@ pet_user_port_device::pet_user_port_device(const machine_config &mconfig, const
|
||||
void pet_user_port_device::device_config_complete()
|
||||
{
|
||||
m_card = dynamic_cast<device_pet_user_port_interface *>(get_card_device());
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_start - device-specific startup
|
||||
//-------------------------------------------------
|
||||
|
||||
void pet_user_port_device::device_start()
|
||||
{
|
||||
// resolve callbacks
|
||||
m_3_handler.resolve_safe();
|
||||
m_4_handler.resolve_safe();
|
||||
@ -99,14 +106,7 @@ void pet_user_port_device::device_config_complete()
|
||||
m_k_handler.resolve_safe();
|
||||
m_l_handler.resolve_safe();
|
||||
m_m_handler.resolve_safe();
|
||||
}
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_start - device-specific startup
|
||||
//-------------------------------------------------
|
||||
|
||||
void pet_user_port_device::device_start()
|
||||
{
|
||||
// pull up
|
||||
m_3_handler(1);
|
||||
m_4_handler(1);
|
||||
|
Loading…
Reference in New Issue
Block a user