diff options
author | 2015-11-19 19:44:23 +0100 | |
---|---|---|
committer | 2015-11-19 19:45:32 +0100 | |
commit | b7f4c4bd2084970f3ec41057a6bafbba96a2386a (patch) | |
tree | 0228ce3f01376ddc19fa529409f5281e8040e433 /src/devices/cpu/e0c6200 | |
parent | ae2f72348d5d2c5d55f1e85cc133912638d0effb (diff) |
Fixed uninitialized class members
Diffstat (limited to 'src/devices/cpu/e0c6200')
-rw-r--r-- | src/devices/cpu/e0c6200/e0c6200.h | 3 | ||||
-rw-r--r-- | src/devices/cpu/e0c6200/e0c6s46.cpp | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/src/devices/cpu/e0c6200/e0c6200.h b/src/devices/cpu/e0c6200/e0c6200.h index 430cc36f6f8..b4769cf19e3 100644 --- a/src/devices/cpu/e0c6200/e0c6200.h +++ b/src/devices/cpu/e0c6200/e0c6200.h @@ -19,7 +19,8 @@ public: e0c6200_cpu_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, address_map_constructor program, address_map_constructor data, const char *shortname, const char *source) : cpu_device(mconfig, type, name, tag, owner, clock, shortname, source) , m_program_config("program", ENDIANNESS_BIG, 16, 13, -1, program) - , m_data_config("data", ENDIANNESS_BIG, 8, 12, 0, data) + , m_data_config("data", ENDIANNESS_BIG, 8, 12, 0, data), m_program(nullptr), m_data(nullptr), m_op(0), m_prev_op(0), m_irq_vector(0), m_irq_id(0), m_possible_irq(false), m_halt(false), + m_sleep(false), m_icount(0), m_pc(0), m_prev_pc(0), m_npc(0), m_jpc(0), m_a(0), m_b(0), m_xp(0), m_xh(0), m_xl(0), m_yp(0), m_yh(0), m_yl(0), m_sp(0), m_f(0) { } protected: diff --git a/src/devices/cpu/e0c6200/e0c6s46.cpp b/src/devices/cpu/e0c6200/e0c6s46.cpp index be131a1e5dc..21d7813eb25 100644 --- a/src/devices/cpu/e0c6200/e0c6s46.cpp +++ b/src/devices/cpu/e0c6200/e0c6s46.cpp @@ -48,11 +48,13 @@ ADDRESS_MAP_END e0c6s46_device::e0c6s46_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : e0c6200_cpu_device(mconfig, E0C6S46, "E0C6S46", tag, owner, clock, ADDRESS_MAP_NAME(e0c6s46_program), ADDRESS_MAP_NAME(e0c6s46_data), "e0c6s46", __FILE__) , m_vram1(*this, "vram1") - , m_vram2(*this, "vram2") - , m_pixel_update_handler(NULL) + , m_vram2(*this, "vram2"), m_osc(0), m_svd(0), m_lcd_control(0), m_lcd_contrast(0) + , m_pixel_update_handler(nullptr) , m_write_r0(*this), m_write_r1(*this), m_write_r2(*this), m_write_r3(*this), m_write_r4(*this) , m_read_p0(*this), m_read_p1(*this), m_read_p2(*this), m_read_p3(*this) - , m_write_p0(*this), m_write_p1(*this), m_write_p2(*this), m_write_p3(*this) + , m_write_p0(*this), m_write_p1(*this), m_write_p2(*this), m_write_p3(*this), m_r_dir(0), m_p_dir(0), m_p_pullup(0), m_dfk0(0), m_256_src_pulse(0), m_core_256_handle(nullptr), + m_watchdog_count(0), m_clktimer_count(0), m_stopwatch_on(0), m_swl_cur_pulse(0), m_swl_slice(0), m_swl_count(0), m_swh_count(0), m_prgtimer_select(0), m_prgtimer_on(0), m_prgtimer_src_pulse(0), + m_prgtimer_cur_pulse(0), m_prgtimer_count(0), m_prgtimer_reload(0), m_prgtimer_handle(nullptr), m_bz_43_on(0), m_bz_freq(0), m_bz_envelope(0), m_bz_duty_ratio(0), m_bz_1shot_on(0), m_bz_1shot_running(false), m_bz_1shot_count(0), m_bz_pulse(0), m_buzzer_handle(nullptr) { } |