summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/devices/cpu/pdp1/pdp1.cpp2
-rw-r--r--src/devices/cpu/pdp1/pdp1.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/cpu/pdp1/pdp1.cpp b/src/devices/cpu/pdp1/pdp1.cpp
index 2d04709a4a9..f0952b1c2eb 100644
--- a/src/devices/cpu/pdp1/pdp1.cpp
+++ b/src/devices/cpu/pdp1/pdp1.cpp
@@ -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_extern_iot(*this)
, m_io_sc_callback(*this)
+ , m_program(nullptr)
+ , m_reset_param(nullptr)
{
m_program_config.m_is_octal = true;
}
diff --git a/src/devices/cpu/pdp1/pdp1.h b/src/devices/cpu/pdp1/pdp1.h
index 0a81c8177d4..f1a4e934236 100644
--- a/src/devices/cpu/pdp1/pdp1.h
+++ b/src/devices/cpu/pdp1/pdp1.h
@@ -33,8 +33,7 @@ struct pdp1_reset_param_t
#define IOT_NO_COMPLETION_PULSE -1
-class pdp1_device : public cpu_device
- , public pdp1_reset_param_t
+class pdp1_device : public cpu_device, public pdp1_reset_param_t
{
public:
typedef device_delegate<void (int op2, int nac, int mb, int &io, int ac)> iot_delegate;