diff options
Diffstat (limited to 'src/devices')
-rw-r--r-- | src/devices/cpu/i960/i960.cpp | 2 | ||||
-rw-r--r-- | src/devices/cpu/i960/i960.h | 4 | ||||
-rw-r--r-- | src/devices/machine/acorn_vidc.cpp | 6 | ||||
-rw-r--r-- | src/devices/video/topcat.h | 10 |
4 files changed, 11 insertions, 11 deletions
diff --git a/src/devices/cpu/i960/i960.cpp b/src/devices/cpu/i960/i960.cpp index c78dd96aa28..6c53cac452f 100644 --- a/src/devices/cpu/i960/i960.cpp +++ b/src/devices/cpu/i960/i960.cpp @@ -17,7 +17,7 @@ DEFINE_DEVICE_TYPE(I960, i960_cpu_device, "i960kb", "Intel i960KB") i960_cpu_device::i960_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : cpu_device(mconfig, I960, tag, owner, clock) - , m_stalled(0), m_program_config("program", ENDIANNESS_LITTLE, 32, 32, 0) + , m_stalled(false), m_program_config("program", ENDIANNESS_LITTLE, 32, 32, 0) , m_rcache_pos(0), m_SAT(0), m_PRCB(0), m_PC(0), m_AC(0), m_IP(0), m_PIP(0), m_ICR(0), m_bursting(0), m_immediate_irq(0) , m_immediate_vector(0), m_immediate_pri(0), m_program(nullptr), m_cache(nullptr), m_icount(0) { diff --git a/src/devices/cpu/i960/i960.h b/src/devices/cpu/i960/i960.h index a5592e0f96e..4375ebed4fc 100644 --- a/src/devices/cpu/i960/i960.h +++ b/src/devices/cpu/i960/i960.h @@ -108,8 +108,8 @@ private: struct { uint32_t t1,t2 = 0; int index,size = 0; - bool burst_mode = 0; - bool iswriteop = 0; + bool burst_mode = false; + bool iswriteop = false; }m_stall_state; bool m_stalled; diff --git a/src/devices/machine/acorn_vidc.cpp b/src/devices/machine/acorn_vidc.cpp index 101c8ad2b4f..4ad88d5d4df 100644 --- a/src/devices/machine/acorn_vidc.cpp +++ b/src/devices/machine/acorn_vidc.cpp @@ -65,10 +65,10 @@ acorn_vidc10_device::acorn_vidc10_device(const machine_config &mconfig, device_t , m_pixel_clock(0) , m_bpp_mode(0) , m_crtc_interlace(0) - , m_cursor_enable(0) + , m_cursor_enable(false) , m_sound_frequency_latch(0) - , m_sound_frequency_test_bit(0) - , m_sound_mode(0) + , m_sound_frequency_test_bit(false) + , m_sound_mode(false) { std::fill(std::begin(m_crtc_regs), std::end(m_crtc_regs), 0); diff --git a/src/devices/video/topcat.h b/src/devices/video/topcat.h index eee90758e8a..a42761ffb37 100644 --- a/src/devices/video/topcat.h +++ b/src/devices/video/topcat.h @@ -131,7 +131,7 @@ private: uint16_t m_unknown_reg4a = 0; uint16_t m_unknown_reg4c = 0; emu_timer *m_cursor_timer = nullptr; - bool m_cursor_state = 0; + bool m_cursor_state = false; uint16_t m_cursor_x_pos = 0; uint16_t m_cursor_y_pos = 0; uint16_t m_cursor_width = 0; @@ -140,10 +140,10 @@ private: int m_fb_height = 0; uint8_t m_plane_mask = 0; - bool m_read_enable = 0; - bool m_write_enable = 0; - bool m_fb_enable = 0; - bool m_changed = 0; + bool m_read_enable = false; + bool m_write_enable = false; + bool m_fb_enable = false; + bool m_changed = false; required_shared_ptr<uint8_t> m_vram; }; |