mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
(MESS) ti99: Resolve READY in device_config_complete. (nw)
This commit is contained in:
parent
5b4587f182
commit
0754a2335c
@ -394,12 +394,19 @@ void ti99_datamux_device::device_stop(void)
|
||||
if (m_ram16b) free(m_ram16b);
|
||||
}
|
||||
|
||||
void ti99_datamux_device::device_config_complete()
|
||||
{
|
||||
const datamux_config *conf = reinterpret_cast<const datamux_config *>(static_config());
|
||||
// Must do this here, or ready may be called too early
|
||||
// The device is built below because we need the dip switches.
|
||||
m_ready.resolve(conf->ready, *this);
|
||||
}
|
||||
|
||||
void ti99_datamux_device::device_reset(void)
|
||||
{
|
||||
const datamux_config *conf = reinterpret_cast<const datamux_config *>(static_config());
|
||||
|
||||
const dmux_device_list_entry *list = conf->devlist;
|
||||
m_ready.resolve(conf->ready, *this);
|
||||
|
||||
m_cpu = machine().device("maincpu");
|
||||
// m_space = &m_cpu->memory().space(AS_PROGRAM);
|
||||
|
@ -80,10 +80,11 @@ public:
|
||||
|
||||
protected:
|
||||
/* Constructor */
|
||||
virtual void device_start(void);
|
||||
virtual void device_stop(void);
|
||||
virtual void device_reset(void);
|
||||
virtual ioport_constructor device_input_ports() const;
|
||||
void device_start();
|
||||
void device_stop();
|
||||
void device_reset();
|
||||
void device_config_complete();
|
||||
ioport_constructor device_input_ports() const;
|
||||
|
||||
private:
|
||||
// Keeps the address space pointer
|
||||
|
Loading…
Reference in New Issue
Block a user