mirror of
https://github.com/holub/mame
synced 2025-06-26 22:29:10 +03:00
cpu/pdp1: Initialise a couple of pointer members.
This commit is contained in:
parent
5bb5c31345
commit
88a1e42774
@ -386,6 +386,8 @@ pdp1_device::pdp1_device(const machine_config &mconfig, const char *tag, device_
|
|||||||
, m_program_config("program", ENDIANNESS_BIG, 32, 18, -2) // data is actually 18 bits wide
|
, m_program_config("program", ENDIANNESS_BIG, 32, 18, -2) // data is actually 18 bits wide
|
||||||
, m_extern_iot(*this)
|
, m_extern_iot(*this)
|
||||||
, m_io_sc_callback(*this)
|
, m_io_sc_callback(*this)
|
||||||
|
, m_program(nullptr)
|
||||||
|
, m_reset_param(nullptr)
|
||||||
{
|
{
|
||||||
m_program_config.m_is_octal = true;
|
m_program_config.m_is_octal = true;
|
||||||
}
|
}
|
||||||
|
@ -33,8 +33,7 @@ struct pdp1_reset_param_t
|
|||||||
#define IOT_NO_COMPLETION_PULSE -1
|
#define IOT_NO_COMPLETION_PULSE -1
|
||||||
|
|
||||||
|
|
||||||
class pdp1_device : public cpu_device
|
class pdp1_device : public cpu_device, public pdp1_reset_param_t
|
||||||
, public pdp1_reset_param_t
|
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef device_delegate<void (int op2, int nac, int mb, int &io, int ac)> iot_delegate;
|
typedef device_delegate<void (int op2, int nac, int mb, int &io, int ac)> iot_delegate;
|
||||||
|
Loading…
Reference in New Issue
Block a user