diff options
author | 2020-10-14 05:35:17 +1100 | |
---|---|---|
committer | 2020-10-14 05:35:17 +1100 | |
commit | adcc17e79fd1fb4ee7960b88387c406b6da83656 (patch) | |
tree | 7a768cd1e1a3edda16fd867701a9730478498459 | |
parent | 980b41d614daf4cf9b816bfa7dc554a6292a7a3d (diff) |
cpu/pic16c5x: Initialise a couple of variables that can be problematic.
-rw-r--r-- | src/devices/cpu/pic16c5x/pic16c5x.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/cpu/pic16c5x/pic16c5x.cpp b/src/devices/cpu/pic16c5x/pic16c5x.cpp index 715cf574ee1..1871bc260bd 100644 --- a/src/devices/cpu/pic16c5x/pic16c5x.cpp +++ b/src/devices/cpu/pic16c5x/pic16c5x.cpp @@ -130,9 +130,11 @@ pic16c5x_device::pic16c5x_device(const machine_config &mconfig, device_type type , ( ( program_width == 9 ) ? address_map_constructor(FUNC(pic16c5x_device::rom_9), this): ( ( program_width == 10 ) ? address_map_constructor(FUNC(pic16c5x_device::rom_10), this) : address_map_constructor(FUNC(pic16c5x_device::rom_11), this) ))) , m_data_config("data", ENDIANNESS_LITTLE, 8, data_width, 0 , ( ( data_width == 5 ) ? address_map_constructor(FUNC(pic16c5x_device::ram_5), this) : address_map_constructor(FUNC(pic16c5x_device::ram_7), this) ) ) + , m_internalram(nullptr) , m_reset_vector((program_width == 9) ? 0x1ff : ((program_width == 10) ? 0x3ff : 0x7ff)) , m_picmodel(picmodel) , m_temp_config(0) + , m_rtcc(0) , m_picRAMmask((data_width == 5) ? 0x1f : 0x7f) , m_read_a(*this) , m_read_b(*this) |