mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
fixed a couple of reportedly uninitiated variables in the tools.
This commit is contained in:
parent
5172c6297e
commit
876d4f1a58
@ -107,10 +107,10 @@ private:
|
||||
|
||||
floppy_image m_floppy_image;
|
||||
|
||||
const floppy_image_format_t *m_floppy_fs_converter;
|
||||
const floppy_image_format_t *m_floppy_fs_converter = nullptr;
|
||||
std::vector<u8> m_sector_image;
|
||||
std::unique_ptr<fs::fsblk_t> m_fsblk;
|
||||
const fs::manager_t *m_fsm;
|
||||
const fs::manager_t *m_fsm = nullptr;
|
||||
std::unique_ptr<fs::filesystem_t> m_fs;
|
||||
|
||||
};
|
||||
|
@ -115,9 +115,9 @@ private:
|
||||
// Content
|
||||
std::vector<sif_file_ptr_t> content;
|
||||
// First file on track 1
|
||||
file_no_t file_track_1;
|
||||
file_no_t file_track_1{};
|
||||
// No. of first record on track 1
|
||||
uint16_t record_track_1;
|
||||
uint16_t record_track_1 = 0;
|
||||
|
||||
bool dec_rec_header(const tape_word_t *hdr , file_no_t& file_no , uint16_t& rec_no , bool& has_body , unsigned& body_len);
|
||||
bool load_whole_tape();
|
||||
|
@ -727,7 +727,7 @@ static void output_report(std::string &dirname, std::string &tempheader, std::st
|
||||
static int compare_screenshots(summary_file *curfile)
|
||||
{
|
||||
bitmap_argb32 bitmaps[MAX_COMPARES];
|
||||
int unique[MAX_COMPARES];
|
||||
int unique[MAX_COMPARES]{};
|
||||
int numunique = 0;
|
||||
|
||||
/* iterate over all files and load their bitmaps */
|
||||
|
@ -679,7 +679,7 @@ class unidasm_data_buffer : public util::disasm_interface::data_buffer
|
||||
{
|
||||
public:
|
||||
std::vector<u8> data;
|
||||
offs_t base_pc;
|
||||
offs_t base_pc = 0;
|
||||
u32 size;
|
||||
|
||||
unidasm_data_buffer(util::disasm_interface *disasm, const dasm_table_entry *entry);
|
||||
|
Loading…
Reference in New Issue
Block a user