mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
init vars for coverity(includes/a-e)
This commit is contained in:
parent
62b74558d1
commit
a8d1bab125
@ -58,7 +58,7 @@ private:
|
||||
uint8_t m_prot_bit_index = 0U;
|
||||
uint16_t m_prot_save = 0U;
|
||||
typedef void (artmagic_state::*prot_func)();
|
||||
prot_func m_protection_handler;
|
||||
prot_func m_protection_handler{};
|
||||
void ultennis_protection();
|
||||
void cheesech_protection();
|
||||
void stonebal_protection();
|
||||
|
@ -453,7 +453,7 @@ public:
|
||||
uint16_t cache_r();
|
||||
void cache_w(uint16_t data);
|
||||
|
||||
uint16_t m_cache;
|
||||
uint16_t m_cache = 0;
|
||||
void megaste(machine_config &config);
|
||||
void megaste_map(address_map &map);
|
||||
|
||||
|
@ -96,7 +96,7 @@ protected:
|
||||
bool m_pc1 = 0;
|
||||
|
||||
/* devices */
|
||||
bool m_previous_i8271_int_state;
|
||||
bool m_previous_i8271_int_state = false;
|
||||
static void floppy_formats(format_registration &fr);
|
||||
DECLARE_WRITE_LINE_MEMBER(cassette_output_tick);
|
||||
|
||||
@ -131,7 +131,7 @@ private:
|
||||
uint8_t dos_r(offs_t offset);
|
||||
|
||||
/* eprom state */
|
||||
u8 m_eprom;
|
||||
u8 m_eprom = 0;
|
||||
|
||||
required_device_array<generic_slot_device, 16> m_ext;
|
||||
required_device<generic_slot_device> m_e0;
|
||||
|
@ -42,7 +42,7 @@ private:
|
||||
int m_scroll_x = 0;
|
||||
int m_priority = 0;
|
||||
|
||||
uint8_t m_nmi_mask;
|
||||
uint8_t m_nmi_mask = 0;
|
||||
void scroll_w(uint8_t data);
|
||||
void videoram_w(offs_t offset, uint8_t data);
|
||||
void colorram_w(offs_t offset, uint8_t data);
|
||||
|
@ -70,8 +70,8 @@ protected:
|
||||
required_device<namco_cus30_device> m_cus30;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
required_device<palette_device> m_palette;
|
||||
tilemap_t *m_tx_tilemap;
|
||||
tilemap_t *m_bg_tilemap[2];
|
||||
tilemap_t *m_tx_tilemap = nullptr;
|
||||
tilemap_t *m_bg_tilemap[2]{};
|
||||
int m_xscroll[2]{};
|
||||
int m_yscroll[2]{};
|
||||
int m_copy_sprites = 0;
|
||||
|
@ -57,7 +57,7 @@ private:
|
||||
required_device<palette_device> m_palette;
|
||||
|
||||
/* game id */
|
||||
int m_game_id;
|
||||
int m_game_id = 0;
|
||||
uint8_t circus_paddle_r();
|
||||
void circus_videoram_w(offs_t offset, uint8_t data);
|
||||
void circus_clown_x_w(uint8_t data);
|
||||
|
@ -58,13 +58,13 @@ private:
|
||||
required_shared_ptr<uint8_t> m_videoram;
|
||||
required_shared_ptr<uint8_t> m_spriteram;
|
||||
int m_nvram_enabled = 0;
|
||||
uint8_t m_bitmap_videoram_selected;
|
||||
uint8_t m_bitmap_videoram_address_x;
|
||||
uint8_t m_bitmap_videoram_address_y;
|
||||
uint8_t m_bitmap_videoram_selected = 0;
|
||||
uint8_t m_bitmap_videoram_address_x = 0;
|
||||
uint8_t m_bitmap_videoram_address_y = 0;
|
||||
std::unique_ptr<uint8_t[]> m_bitmap_videoram1;
|
||||
std::unique_ptr<uint8_t[]> m_bitmap_videoram2;
|
||||
uint8_t *m_current_bitmap_videoram_accessed;
|
||||
uint8_t *m_current_bitmap_videoram_displayed;
|
||||
uint8_t *m_current_bitmap_videoram_accessed = nullptr;
|
||||
uint8_t *m_current_bitmap_videoram_displayed = nullptr;
|
||||
std::unique_ptr<uint16_t[]> m_palette_ram;
|
||||
tilemap_t *m_bg_tilemap = nullptr;
|
||||
|
||||
|
@ -50,8 +50,8 @@ private:
|
||||
required_device<discrete_device> m_discrete;
|
||||
required_device<gfxdecode_device> m_gfxdecode;
|
||||
|
||||
uint16_t m_collision_address;
|
||||
uint8_t m_collision_address_clear;
|
||||
uint16_t m_collision_address = 0;
|
||||
uint8_t m_collision_address_clear = 0;
|
||||
tilemap_t *m_bg_tilemap = nullptr;
|
||||
uint8_t m_irq_mask = 0U;
|
||||
void pc3092_w(offs_t offset, uint8_t data);
|
||||
|
@ -195,7 +195,7 @@ private:
|
||||
required_shared_ptr<uint8_t> m_sprite_ram;
|
||||
|
||||
/* machine states */
|
||||
uint8_t m_hardware_type;
|
||||
uint8_t m_hardware_type = 0;
|
||||
uint8_t m_nmi_mask = 0U;
|
||||
|
||||
std::unique_ptr<uint8_t[]> m_decrypted;
|
||||
|
@ -100,8 +100,8 @@ private:
|
||||
emu_timer *m_hblank_start_timer = nullptr;
|
||||
std::unique_ptr<uint8_t[]> m_fig_scale_table{};
|
||||
std::unique_ptr<uint8_t[]> m_scale_table{};
|
||||
int m_video_firq;
|
||||
uint8_t m_bg_intensity;
|
||||
int m_video_firq = 0;
|
||||
uint8_t m_bg_intensity = 0;
|
||||
void uart_w(offs_t offset, uint8_t data);
|
||||
uint8_t uart_r();
|
||||
uint8_t g_status_r();
|
||||
|
Loading…
Reference in New Issue
Block a user