mirror of https://github.com/mamedev/mame.git
fixed some modernize-use-equals-default clang-tidy warnings (nw)
This commit is contained in:
parent
c8efa6607c
commit
54486ab900
|
@ -678,18 +678,6 @@ uint16_t *avhuff_encoder::deltarle_encoder::rle_and_histo_bitmap(const uint8_t *
|
||||||
// AVHUFF DECODER
|
// AVHUFF DECODER
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
|
|
||||||
/**
|
|
||||||
* @fn avhuff_decoder::avhuff_decoder()
|
|
||||||
*
|
|
||||||
* @brief -------------------------------------------------
|
|
||||||
* avhuff_decoder - constructor
|
|
||||||
* -------------------------------------------------.
|
|
||||||
*/
|
|
||||||
|
|
||||||
avhuff_decoder::avhuff_decoder()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @fn void avhuff_decoder::configure(const avhuff_decompress_config &config)
|
* @fn void avhuff_decoder::configure(const avhuff_decompress_config &config)
|
||||||
*
|
*
|
||||||
|
|
|
@ -144,7 +144,7 @@ class avhuff_decoder
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// construction/destruction
|
// construction/destruction
|
||||||
avhuff_decoder();
|
avhuff_decoder() = default;
|
||||||
|
|
||||||
// configuration
|
// configuration
|
||||||
void configure(const avhuff_decompress_config &config);
|
void configure(const avhuff_decompress_config &config);
|
||||||
|
|
|
@ -3803,13 +3803,3 @@ const char *avi_file::error_string(error err)
|
||||||
default: return "undocumented error";
|
default: return "undocumented error";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
avi_file::avi_file()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
avi_file::~avi_file()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
|
@ -111,7 +111,7 @@ public:
|
||||||
|
|
||||||
static error open(std::string const &filename, ptr &file);
|
static error open(std::string const &filename, ptr &file);
|
||||||
static error create(std::string const &filename, movie_info const &info, ptr &file);
|
static error create(std::string const &filename, movie_info const &info, ptr &file);
|
||||||
virtual ~avi_file();
|
virtual ~avi_file() = default;
|
||||||
|
|
||||||
virtual void printf_chunks() = 0;
|
virtual void printf_chunks() = 0;
|
||||||
static const char *error_string(error err);
|
static const char *error_string(error err);
|
||||||
|
@ -128,7 +128,7 @@ public:
|
||||||
virtual error append_sound_samples(int channel, std::int16_t const *samples, std::uint32_t numsamples, std::uint32_t sampleskip) = 0;
|
virtual error append_sound_samples(int channel, std::int16_t const *samples, std::uint32_t numsamples, std::uint32_t sampleskip) = 0;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
avi_file();
|
avi_file() = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // MAME_LIB_UTIL_AVIIO_H
|
#endif // MAME_LIB_UTIL_AVIIO_H
|
||||||
|
|
|
@ -124,7 +124,7 @@ class chd_lzma_compressor : public chd_compressor
|
||||||
public:
|
public:
|
||||||
// construction/destruction
|
// construction/destruction
|
||||||
chd_lzma_compressor(chd_file &chd, uint32_t hunkbytes, bool lossy);
|
chd_lzma_compressor(chd_file &chd, uint32_t hunkbytes, bool lossy);
|
||||||
~chd_lzma_compressor();
|
~chd_lzma_compressor() = default;
|
||||||
|
|
||||||
// core functionality
|
// core functionality
|
||||||
virtual uint32_t compress(const uint8_t *src, uint32_t srclen, uint8_t *dest) override;
|
virtual uint32_t compress(const uint8_t *src, uint32_t srclen, uint8_t *dest) override;
|
||||||
|
@ -496,15 +496,6 @@ chd_codec::chd_codec(chd_file &chd, uint32_t hunkbytes, bool lossy)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
|
||||||
// ~chd_codec - destructor
|
|
||||||
//-------------------------------------------------
|
|
||||||
|
|
||||||
chd_codec::~chd_codec()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
// configure - configuration
|
// configure - configuration
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
|
@ -1053,15 +1044,6 @@ chd_lzma_compressor::chd_lzma_compressor(chd_file &chd, uint32_t hunkbytes, bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
|
||||||
// ~chd_lzma_compressor - destructor
|
|
||||||
//-------------------------------------------------
|
|
||||||
|
|
||||||
chd_lzma_compressor::~chd_lzma_compressor()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
// compress - compress data using the LZMA codec
|
// compress - compress data using the LZMA codec
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
|
|
|
@ -50,7 +50,7 @@ protected:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// allow public deletion
|
// allow public deletion
|
||||||
virtual ~chd_codec();
|
virtual ~chd_codec() = default;
|
||||||
|
|
||||||
// accessors
|
// accessors
|
||||||
chd_file &chd() const { return m_chd; }
|
chd_file &chd() const { return m_chd; }
|
||||||
|
|
|
@ -143,7 +143,7 @@ class core_proxy_file : public core_file
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
core_proxy_file(core_file &file) : m_file(file) { }
|
core_proxy_file(core_file &file) : m_file(file) { }
|
||||||
virtual ~core_proxy_file() override { }
|
virtual ~core_proxy_file() override = default;
|
||||||
virtual osd_file::error compress(int level) override { return m_file.compress(level); }
|
virtual osd_file::error compress(int level) override { return m_file.compress(level); }
|
||||||
|
|
||||||
virtual int seek(std::int64_t offset, int whence) override { return m_file.seek(offset, whence); }
|
virtual int seek(std::int64_t offset, int whence) override { return m_file.seek(offset, whence); }
|
||||||
|
@ -1161,15 +1161,6 @@ osd_file::error core_file::open_proxy(core_file &file, ptr &proxy)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*-------------------------------------------------
|
|
||||||
closes a file
|
|
||||||
-------------------------------------------------*/
|
|
||||||
|
|
||||||
core_file::~core_file()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/*-------------------------------------------------
|
/*-------------------------------------------------
|
||||||
load - open a file with the specified
|
load - open a file with the specified
|
||||||
filename, read it into memory, and return a
|
filename, read it into memory, and return a
|
||||||
|
@ -1233,15 +1224,6 @@ osd_file::error core_file::load(std::string const &filename, std::vector<uint8_t
|
||||||
return osd_file::error::NONE;
|
return osd_file::error::NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*-------------------------------------------------
|
|
||||||
protected constructor
|
|
||||||
-------------------------------------------------*/
|
|
||||||
|
|
||||||
core_file::core_file()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace util
|
} // namespace util
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ public:
|
||||||
static osd_file::error open_proxy(core_file &file, ptr &proxy);
|
static osd_file::error open_proxy(core_file &file, ptr &proxy);
|
||||||
|
|
||||||
// close an open file
|
// close an open file
|
||||||
virtual ~core_file();
|
virtual ~core_file() = default;
|
||||||
|
|
||||||
// enable/disable streaming file compression via zlib; level is 0 to disable compression, or up to 9 for max compression
|
// enable/disable streaming file compression via zlib; level is 0 to disable compression, or up to 9 for max compression
|
||||||
virtual osd_file::error compress(int level) = 0;
|
virtual osd_file::error compress(int level) = 0;
|
||||||
|
@ -128,7 +128,7 @@ public:
|
||||||
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
core_file();
|
core_file() = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -678,14 +678,6 @@ void huffman_context_base::build_lookup_table()
|
||||||
// 8-BIT ENCODER
|
// 8-BIT ENCODER
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
|
|
||||||
//-------------------------------------------------
|
|
||||||
// huffman_8bit_encoder - constructor
|
|
||||||
//-------------------------------------------------
|
|
||||||
|
|
||||||
huffman_8bit_encoder::huffman_8bit_encoder()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
// encode - encode a full buffer
|
// encode - encode a full buffer
|
||||||
|
@ -722,14 +714,6 @@ huffman_error huffman_8bit_encoder::encode(const uint8_t *source, uint32_t sleng
|
||||||
// 8-BIT DECODER
|
// 8-BIT DECODER
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
|
|
||||||
//-------------------------------------------------
|
|
||||||
// huffman_8bit_decoder - constructor
|
|
||||||
//-------------------------------------------------
|
|
||||||
|
|
||||||
huffman_8bit_decoder::huffman_8bit_decoder()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @fn huffman_error huffman_8bit_decoder::decode(const uint8_t *source, uint32_t slength, uint8_t *dest, uint32_t dlength)
|
* @fn huffman_error huffman_8bit_decoder::decode(const uint8_t *source, uint32_t slength, uint8_t *dest, uint32_t dlength)
|
||||||
*
|
*
|
||||||
|
|
|
@ -149,7 +149,7 @@ class huffman_8bit_encoder : public huffman_encoder<>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// construction/destruction
|
// construction/destruction
|
||||||
huffman_8bit_encoder();
|
huffman_8bit_encoder() = default;
|
||||||
|
|
||||||
// operations
|
// operations
|
||||||
huffman_error encode(const uint8_t *source, uint32_t slength, uint8_t *dest, uint32_t destlength, uint32_t &complength);
|
huffman_error encode(const uint8_t *source, uint32_t slength, uint8_t *dest, uint32_t destlength, uint32_t &complength);
|
||||||
|
@ -163,7 +163,7 @@ class huffman_8bit_decoder : public huffman_decoder<>
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// construction/destruction
|
// construction/destruction
|
||||||
huffman_8bit_decoder();
|
huffman_8bit_decoder() = default;
|
||||||
|
|
||||||
// operations
|
// operations
|
||||||
huffman_error decode(const uint8_t *source, uint32_t slength, uint8_t *dest, uint32_t destlength);
|
huffman_error decode(const uint8_t *source, uint32_t slength, uint8_t *dest, uint32_t destlength);
|
||||||
|
|
|
@ -62,15 +62,6 @@ option_resolution::option_resolution(const option_guide &guide)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// -------------------------------------------------
|
|
||||||
// dtor
|
|
||||||
// -------------------------------------------------
|
|
||||||
|
|
||||||
option_resolution::~option_resolution()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// -------------------------------------------------
|
// -------------------------------------------------
|
||||||
// lookup_in_specification
|
// lookup_in_specification
|
||||||
// -------------------------------------------------
|
// -------------------------------------------------
|
||||||
|
|
|
@ -243,7 +243,7 @@ public:
|
||||||
|
|
||||||
// ctor/dtor
|
// ctor/dtor
|
||||||
option_resolution(const option_guide &guide);
|
option_resolution(const option_guide &guide);
|
||||||
~option_resolution();
|
~option_resolution() = default;
|
||||||
|
|
||||||
// sets a specification
|
// sets a specification
|
||||||
void set_specification(const std::string &specification);
|
void set_specification(const std::string &specification);
|
||||||
|
|
|
@ -125,15 +125,6 @@ core_options::entry::entry(std::string &&name, core_options::option_type type, c
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
|
||||||
// entry - destructor
|
|
||||||
//-------------------------------------------------
|
|
||||||
|
|
||||||
core_options::entry::~entry()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
// entry::value
|
// entry::value
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
|
@ -336,15 +327,6 @@ core_options::simple_entry::simple_entry(std::vector<std::string> &&names, const
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
|
||||||
// simple_entry - destructor
|
|
||||||
//-------------------------------------------------
|
|
||||||
|
|
||||||
core_options::simple_entry::~simple_entry()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
// simple_entry::value
|
// simple_entry::value
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
|
@ -422,24 +404,6 @@ const char *core_options::simple_entry::maximum() const noexcept
|
||||||
// CORE OPTIONS
|
// CORE OPTIONS
|
||||||
//**************************************************************************
|
//**************************************************************************
|
||||||
|
|
||||||
//-------------------------------------------------
|
|
||||||
// core_options - constructor
|
|
||||||
//-------------------------------------------------
|
|
||||||
|
|
||||||
core_options::core_options()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
|
||||||
// ~core_options - destructor
|
|
||||||
//-------------------------------------------------
|
|
||||||
|
|
||||||
core_options::~core_options()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
// add_entry - adds an entry
|
// add_entry - adds an entry
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
|
|
|
@ -111,7 +111,7 @@ public:
|
||||||
entry(entry &&) = delete;
|
entry(entry &&) = delete;
|
||||||
entry& operator=(const entry &) = delete;
|
entry& operator=(const entry &) = delete;
|
||||||
entry& operator=(entry &&) = delete;
|
entry& operator=(entry &&) = delete;
|
||||||
virtual ~entry();
|
virtual ~entry() = default;
|
||||||
|
|
||||||
// accessors
|
// accessors
|
||||||
const std::vector<std::string> &names() const noexcept { return m_names; }
|
const std::vector<std::string> &names() const noexcept { return m_names; }
|
||||||
|
@ -147,12 +147,12 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
// construction/destruction
|
// construction/destruction
|
||||||
core_options();
|
core_options() = default;
|
||||||
core_options(const core_options &) = delete;
|
core_options(const core_options &) = delete;
|
||||||
core_options(core_options &&) = default;
|
core_options(core_options &&) = default;
|
||||||
core_options& operator=(const core_options &) = delete;
|
core_options& operator=(const core_options &) = delete;
|
||||||
core_options& operator=(core_options &&) = default;
|
core_options& operator=(core_options &&) = default;
|
||||||
virtual ~core_options();
|
virtual ~core_options() = default;
|
||||||
|
|
||||||
// getters
|
// getters
|
||||||
const std::string &command() const noexcept { return m_command; }
|
const std::string &command() const noexcept { return m_command; }
|
||||||
|
@ -213,7 +213,7 @@ private:
|
||||||
simple_entry(simple_entry &&) = delete;
|
simple_entry(simple_entry &&) = delete;
|
||||||
simple_entry& operator=(const simple_entry &) = delete;
|
simple_entry& operator=(const simple_entry &) = delete;
|
||||||
simple_entry& operator=(simple_entry &&) = delete;
|
simple_entry& operator=(simple_entry &&) = delete;
|
||||||
~simple_entry();
|
~simple_entry() = default;
|
||||||
|
|
||||||
// getters
|
// getters
|
||||||
virtual const char *value() const noexcept override;
|
virtual const char *value() const noexcept override;
|
||||||
|
|
|
@ -252,15 +252,6 @@ palette_t::palette_t(uint32_t numcolors, uint32_t numgroups)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
|
||||||
// palette_t - destructor
|
|
||||||
//-------------------------------------------------
|
|
||||||
|
|
||||||
palette_t::~palette_t()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
// palette_t - destructor
|
// palette_t - destructor
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
|
|
|
@ -191,7 +191,7 @@ public:
|
||||||
private:
|
private:
|
||||||
// construction/destruction
|
// construction/destruction
|
||||||
palette_t(uint32_t numcolors, uint32_t numgroups = 1);
|
palette_t(uint32_t numcolors, uint32_t numgroups = 1);
|
||||||
~palette_t();
|
~palette_t() = default;
|
||||||
|
|
||||||
// internal helpers
|
// internal helpers
|
||||||
rgb_t adjust_palette_entry(rgb_t entry, float brightness, float contrast, const uint8_t *gamma_map);
|
rgb_t adjust_palette_entry(rgb_t entry, float brightness, float contrast, const uint8_t *gamma_map);
|
||||||
|
|
|
@ -1479,9 +1479,4 @@ void archive_file::cache_clear()
|
||||||
m7z_file_cache_clear();
|
m7z_file_cache_clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
archive_file::~archive_file()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
} // namespace util
|
} // namespace util
|
||||||
|
|
|
@ -57,7 +57,7 @@ public:
|
||||||
static error open_7z(const std::string &filename, ptr &result);
|
static error open_7z(const std::string &filename, ptr &result);
|
||||||
|
|
||||||
// close an archive file (may actually be left open due to caching)
|
// close an archive file (may actually be left open due to caching)
|
||||||
virtual ~archive_file();
|
virtual ~archive_file() = default;
|
||||||
|
|
||||||
// clear out all open files from the cache
|
// clear out all open files from the cache
|
||||||
static void cache_clear();
|
static void cache_clear();
|
||||||
|
|
|
@ -68,9 +68,6 @@ static void expat_element_end(void *data, const XML_Char *name);
|
||||||
XML FILE OBJECTS
|
XML FILE OBJECTS
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
file::file() { }
|
|
||||||
file::~file() { }
|
|
||||||
|
|
||||||
|
|
||||||
/*-------------------------------------------------
|
/*-------------------------------------------------
|
||||||
create - create a new, empty XML file
|
create - create a new, empty XML file
|
||||||
|
|
|
@ -215,7 +215,7 @@ public:
|
||||||
using ptr = std::unique_ptr<file>;
|
using ptr = std::unique_ptr<file>;
|
||||||
|
|
||||||
|
|
||||||
~file();
|
~file() = default;
|
||||||
|
|
||||||
// create a new, empty XML file
|
// create a new, empty XML file
|
||||||
static ptr create();
|
static ptr create();
|
||||||
|
@ -231,7 +231,7 @@ public:
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
file();
|
file() = default;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -614,16 +614,6 @@ osd_file::error zippath_directory::open(std::string const &path, ptr &directory)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// -------------------------------------------------
|
|
||||||
// zippath_directory::~zippath_directory - closes
|
|
||||||
// a directory
|
|
||||||
// -------------------------------------------------
|
|
||||||
|
|
||||||
zippath_directory::~zippath_directory()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
// -------------------------------------------------
|
// -------------------------------------------------
|
||||||
// zippath_parent - retrieves the parent directory
|
// zippath_parent - retrieves the parent directory
|
||||||
// -------------------------------------------------
|
// -------------------------------------------------
|
||||||
|
|
|
@ -34,7 +34,7 @@ public:
|
||||||
static osd_file::error open(std::string const &path, ptr &directory);
|
static osd_file::error open(std::string const &path, ptr &directory);
|
||||||
|
|
||||||
// closes a directory
|
// closes a directory
|
||||||
virtual ~zippath_directory();
|
virtual ~zippath_directory() = default;
|
||||||
|
|
||||||
// reads a directory entry
|
// reads a directory entry
|
||||||
virtual osd::directory::entry const *readdir() = 0;
|
virtual osd::directory::entry const *readdir() = 0;
|
||||||
|
|
|
@ -327,7 +327,7 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~debug_gdbstub() { }
|
virtual ~debug_gdbstub() = default;
|
||||||
|
|
||||||
virtual int init(const osd_options &options) override;
|
virtual int init(const osd_options &options) override;
|
||||||
virtual void exit() override;
|
virtual void exit() override;
|
||||||
|
|
|
@ -116,7 +116,7 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~debug_imgui() { }
|
virtual ~debug_imgui() = default;
|
||||||
|
|
||||||
virtual int init(const osd_options &options) override { return 0; }
|
virtual int init(const osd_options &options) override { return 0; }
|
||||||
virtual void exit() override {};
|
virtual void exit() override {};
|
||||||
|
|
|
@ -44,7 +44,7 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~debugger_windows() { }
|
virtual ~debugger_windows() = default;
|
||||||
|
|
||||||
virtual int init(const osd_options &options) override { return 0; }
|
virtual int init(const osd_options &options) override { return 0; }
|
||||||
virtual void exit() override;
|
virtual void exit() override;
|
||||||
|
|
|
@ -22,7 +22,7 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~debug_none() { }
|
virtual ~debug_none() = default;
|
||||||
|
|
||||||
virtual int init(const osd_options &options) override { return 0; }
|
virtual int init(const osd_options &options) override { return 0; }
|
||||||
virtual void exit() override { }
|
virtual void exit() override { }
|
||||||
|
|
|
@ -91,10 +91,6 @@ cleanup:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
consolewin_info::~consolewin_info()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void consolewin_info::set_cpu(device_t &device)
|
void consolewin_info::set_cpu(device_t &device)
|
||||||
{
|
{
|
||||||
// exit if this cpu is already selected
|
// exit if this cpu is already selected
|
||||||
|
|
|
@ -19,7 +19,7 @@ class consolewin_info : public disasmbasewin_info
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
consolewin_info(debugger_windows_interface &debugger);
|
consolewin_info(debugger_windows_interface &debugger);
|
||||||
virtual ~consolewin_info();
|
virtual ~consolewin_info() = default;
|
||||||
|
|
||||||
void set_cpu(device_t &device);
|
void set_cpu(device_t &device);
|
||||||
|
|
||||||
|
|
|
@ -48,11 +48,6 @@ debugwin_info::debugwin_info(debugger_windows_interface &debugger, bool is_main_
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
debugwin_info::~debugwin_info()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void debugwin_info::destroy()
|
void debugwin_info::destroy()
|
||||||
{
|
{
|
||||||
for (int curview = 0; curview < MAX_VIEWS; curview++)
|
for (int curview = 0; curview < MAX_VIEWS; curview++)
|
||||||
|
|
|
@ -19,7 +19,7 @@ class debugwin_info : protected debugbase_info
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
debugwin_info(debugger_windows_interface &debugger, bool is_main_console, LPCSTR title, WNDPROC handler);
|
debugwin_info(debugger_windows_interface &debugger, bool is_main_console, LPCSTR title, WNDPROC handler);
|
||||||
virtual ~debugwin_info();
|
virtual ~debugwin_info() = default;
|
||||||
|
|
||||||
bool is_valid() const { return m_wnd != nullptr; }
|
bool is_valid() const { return m_wnd != nullptr; }
|
||||||
|
|
||||||
|
|
|
@ -49,11 +49,6 @@ disasmbasewin_info::disasmbasewin_info(debugger_windows_interface &debugger, boo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
disasmbasewin_info::~disasmbasewin_info()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
bool disasmbasewin_info::handle_key(WPARAM wparam, LPARAM lparam)
|
bool disasmbasewin_info::handle_key(WPARAM wparam, LPARAM lparam)
|
||||||
{
|
{
|
||||||
if (GetAsyncKeyState(VK_CONTROL) & 0x8000)
|
if (GetAsyncKeyState(VK_CONTROL) & 0x8000)
|
||||||
|
|
|
@ -19,7 +19,7 @@ class disasmbasewin_info : public editwin_info
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
disasmbasewin_info(debugger_windows_interface &debugger, bool is_main_console, LPCSTR title, WNDPROC handler);
|
disasmbasewin_info(debugger_windows_interface &debugger, bool is_main_console, LPCSTR title, WNDPROC handler);
|
||||||
virtual ~disasmbasewin_info();
|
virtual ~disasmbasewin_info() = default;
|
||||||
|
|
||||||
virtual bool handle_key(WPARAM wparam, LPARAM lparam) override;
|
virtual bool handle_key(WPARAM wparam, LPARAM lparam) override;
|
||||||
|
|
||||||
|
|
|
@ -16,11 +16,6 @@ disasmview_info::disasmview_info(debugger_windows_interface &debugger, debugwin_
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
disasmview_info::~disasmview_info()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
disasm_right_column disasmview_info::right_column() const
|
disasm_right_column disasmview_info::right_column() const
|
||||||
{
|
{
|
||||||
return view<debug_view_disasm>()->right_column();
|
return view<debug_view_disasm>()->right_column();
|
||||||
|
|
|
@ -21,7 +21,7 @@ class disasmview_info : public debugview_info
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
disasmview_info(debugger_windows_interface &debugger, debugwin_info &owner, HWND parent);
|
disasmview_info(debugger_windows_interface &debugger, debugwin_info &owner, HWND parent);
|
||||||
virtual ~disasmview_info();
|
virtual ~disasmview_info() = default;
|
||||||
|
|
||||||
disasm_right_column right_column() const;
|
disasm_right_column right_column() const;
|
||||||
offs_t selected_address() const;
|
offs_t selected_address() const;
|
||||||
|
|
|
@ -45,11 +45,6 @@ disasmwin_info::disasmwin_info(debugger_windows_interface &debugger) :
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
disasmwin_info::~disasmwin_info()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void disasmwin_info::recompute_children()
|
void disasmwin_info::recompute_children()
|
||||||
{
|
{
|
||||||
// compute a client rect
|
// compute a client rect
|
||||||
|
|
|
@ -19,7 +19,7 @@ class disasmwin_info : public disasmbasewin_info
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
disasmwin_info(debugger_windows_interface &debugger);
|
disasmwin_info(debugger_windows_interface &debugger);
|
||||||
virtual ~disasmwin_info();
|
virtual ~disasmwin_info() = default;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual void recompute_children() override;
|
virtual void recompute_children() override;
|
||||||
|
|
|
@ -51,11 +51,6 @@ editwin_info::editwin_info(debugger_windows_interface &debugger, bool is_main_co
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
editwin_info::~editwin_info()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
bool editwin_info::restore_field(HWND wnd)
|
bool editwin_info::restore_field(HWND wnd)
|
||||||
{
|
{
|
||||||
if (wnd == m_editwnd)
|
if (wnd == m_editwnd)
|
||||||
|
|
|
@ -22,7 +22,7 @@ class editwin_info : public debugwin_info
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
editwin_info(debugger_windows_interface &debugger, bool is_main_console, LPCSTR title, WNDPROC handler);
|
editwin_info(debugger_windows_interface &debugger, bool is_main_console, LPCSTR title, WNDPROC handler);
|
||||||
virtual ~editwin_info();
|
virtual ~editwin_info() = default;
|
||||||
|
|
||||||
virtual bool restore_field(HWND wnd) override;
|
virtual bool restore_field(HWND wnd) override;
|
||||||
|
|
||||||
|
|
|
@ -18,11 +18,6 @@ logview_info::logview_info(debugger_windows_interface &debugger, debugwin_info &
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
logview_info::~logview_info()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void logview_info::clear()
|
void logview_info::clear()
|
||||||
{
|
{
|
||||||
view<debug_view_log>()->clear();
|
view<debug_view_log>()->clear();
|
||||||
|
|
|
@ -19,7 +19,7 @@ class logview_info : public debugview_info
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
logview_info(debugger_windows_interface &debugger, debugwin_info &owner, HWND parent);
|
logview_info(debugger_windows_interface &debugger, debugwin_info &owner, HWND parent);
|
||||||
virtual ~logview_info();
|
virtual ~logview_info() = default;
|
||||||
|
|
||||||
void clear();
|
void clear();
|
||||||
};
|
};
|
||||||
|
|
|
@ -49,10 +49,6 @@ logwin_info::logwin_info(debugger_windows_interface &debugger) :
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
logwin_info::~logwin_info()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
bool logwin_info::handle_command(WPARAM wparam, LPARAM lparam)
|
bool logwin_info::handle_command(WPARAM wparam, LPARAM lparam)
|
||||||
{
|
{
|
||||||
if ((HIWORD(wparam) == 0) && (LOWORD(wparam) == ID_CLEAR_LOG))
|
if ((HIWORD(wparam) == 0) && (LOWORD(wparam) == ID_CLEAR_LOG))
|
||||||
|
|
|
@ -19,7 +19,7 @@ class logwin_info : public debugwin_info
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
logwin_info(debugger_windows_interface &debugger);
|
logwin_info(debugger_windows_interface &debugger);
|
||||||
virtual ~logwin_info();
|
virtual ~logwin_info() = default;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual bool handle_command(WPARAM wparam, LPARAM lparam) override;
|
virtual bool handle_command(WPARAM wparam, LPARAM lparam) override;
|
||||||
|
|
|
@ -18,11 +18,6 @@ memoryview_info::memoryview_info(debugger_windows_interface &debugger, debugwin_
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
memoryview_info::~memoryview_info()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
uint8_t memoryview_info::data_format() const
|
uint8_t memoryview_info::data_format() const
|
||||||
{
|
{
|
||||||
return view<debug_view_memory>()->get_data_format();
|
return view<debug_view_memory>()->get_data_format();
|
||||||
|
|
|
@ -19,7 +19,7 @@ class memoryview_info : public debugview_info
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
memoryview_info(debugger_windows_interface &debugger, debugwin_info &owner, HWND parent);
|
memoryview_info(debugger_windows_interface &debugger, debugwin_info &owner, HWND parent);
|
||||||
virtual ~memoryview_info();
|
virtual ~memoryview_info() = default;
|
||||||
|
|
||||||
uint8_t data_format() const;
|
uint8_t data_format() const;
|
||||||
uint32_t chunks_per_row() const;
|
uint32_t chunks_per_row() const;
|
||||||
|
|
|
@ -51,11 +51,6 @@ pointswin_info::pointswin_info(debugger_windows_interface &debugger) :
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
pointswin_info::~pointswin_info()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
bool pointswin_info::handle_key(WPARAM wparam, LPARAM lparam)
|
bool pointswin_info::handle_key(WPARAM wparam, LPARAM lparam)
|
||||||
{
|
{
|
||||||
if (GetAsyncKeyState(VK_CONTROL) & 0x8000)
|
if (GetAsyncKeyState(VK_CONTROL) & 0x8000)
|
||||||
|
|
|
@ -19,7 +19,7 @@ class pointswin_info : public debugwin_info
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
pointswin_info(debugger_windows_interface &debugger);
|
pointswin_info(debugger_windows_interface &debugger);
|
||||||
virtual ~pointswin_info();
|
virtual ~pointswin_info() = default;
|
||||||
|
|
||||||
virtual bool handle_key(WPARAM wparam, LPARAM lparam) override;
|
virtual bool handle_key(WPARAM wparam, LPARAM lparam) override;
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ class symbol_manager
|
||||||
public:
|
public:
|
||||||
// construction/destruction
|
// construction/destruction
|
||||||
symbol_manager(const char *argv0);
|
symbol_manager(const char *argv0);
|
||||||
~symbol_manager();
|
~symbol_manager() = default;
|
||||||
|
|
||||||
// getters
|
// getters
|
||||||
uintptr_t last_base() const { return m_last_base; }
|
uintptr_t last_base() const { return m_last_base; }
|
||||||
|
@ -128,7 +128,7 @@ class sampling_profiler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
sampling_profiler(uint32_t max_seconds, uint8_t stack_depth);
|
sampling_profiler(uint32_t max_seconds, uint8_t stack_depth);
|
||||||
~sampling_profiler();
|
~sampling_profiler() = default;
|
||||||
|
|
||||||
void start();
|
void start();
|
||||||
void stop();
|
void stop();
|
||||||
|
@ -321,15 +321,6 @@ symbol_manager::symbol_manager(const char *argv0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
|
||||||
// ~symbol_manager - destructor
|
|
||||||
//-------------------------------------------------
|
|
||||||
|
|
||||||
symbol_manager::~symbol_manager()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
// symbol_for_address - return a symbol by looking
|
// symbol_for_address - return a symbol by looking
|
||||||
// it up either in the cache or by scanning the
|
// it up either in the cache or by scanning the
|
||||||
|
@ -654,15 +645,6 @@ sampling_profiler::sampling_profiler(uint32_t max_seconds, uint8_t stack_depth =
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
|
||||||
// sampling_profiler - destructor
|
|
||||||
//-------------------------------------------------
|
|
||||||
|
|
||||||
sampling_profiler::~sampling_profiler()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
// start - begin gathering profiling information
|
// start - begin gathering profiling information
|
||||||
//-------------------------------------------------
|
//-------------------------------------------------
|
||||||
|
|
|
@ -11,9 +11,7 @@
|
||||||
class diagnostics_none : public diagnostics_module
|
class diagnostics_none : public diagnostics_module
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
diagnostics_none()
|
diagnostics_none() = default;
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
int init_crash_diagnostics() override
|
int init_crash_diagnostics() override
|
||||||
{
|
{
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
class osd_font_none : public osd_font
|
class osd_font_none : public osd_font
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~osd_font_none() { }
|
virtual ~osd_font_none() = default;
|
||||||
|
|
||||||
virtual bool open(std::string const &font_path, std::string const &name, int &height) override { return false; }
|
virtual bool open(std::string const &font_path, std::string const &name, int &height) override { return false; }
|
||||||
virtual void close() override { }
|
virtual void close() override { }
|
||||||
|
|
|
@ -21,7 +21,7 @@ public:
|
||||||
: osd_module(OSD_MIDI_PROVIDER, "pm"), midi_module()
|
: osd_module(OSD_MIDI_PROVIDER, "pm"), midi_module()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
virtual ~none_module() { }
|
virtual ~none_module() = default;
|
||||||
|
|
||||||
virtual int init(const osd_options &options) override;
|
virtual int init(const osd_options &options) override;
|
||||||
virtual void exit() override;
|
virtual void exit() override;
|
||||||
|
@ -34,7 +34,7 @@ public:
|
||||||
class osd_midi_device_none : public osd_midi_device
|
class osd_midi_device_none : public osd_midi_device
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~osd_midi_device_none() { }
|
virtual ~osd_midi_device_none() = default;
|
||||||
virtual bool open_input(const char *devname) override;
|
virtual bool open_input(const char *devname) override;
|
||||||
virtual bool open_output(const char *devname) override;
|
virtual bool open_output(const char *devname) override;
|
||||||
virtual void close() override;
|
virtual void close() override;
|
||||||
|
|
|
@ -24,7 +24,7 @@ public:
|
||||||
: osd_module(OSD_MIDI_PROVIDER, "pm"), midi_module()
|
: osd_module(OSD_MIDI_PROVIDER, "pm"), midi_module()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
virtual ~pm_module() { }
|
virtual ~pm_module() = default;
|
||||||
|
|
||||||
virtual int init(const osd_options &options)override;
|
virtual int init(const osd_options &options)override;
|
||||||
virtual void exit()override;
|
virtual void exit()override;
|
||||||
|
@ -43,7 +43,7 @@ class osd_midi_device_pm : public osd_midi_device
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
osd_midi_device_pm(): pmStream(nullptr), xmit_cnt(0), last_status(0), rx_sysex(false) { }
|
osd_midi_device_pm(): pmStream(nullptr), xmit_cnt(0), last_status(0), rx_sysex(false) { }
|
||||||
virtual ~osd_midi_device_pm() { }
|
virtual ~osd_midi_device_pm() = default;
|
||||||
virtual bool open_input(const char *devname) override;
|
virtual bool open_input(const char *devname) override;
|
||||||
virtual bool open_output(const char *devname) override;
|
virtual bool open_output(const char *devname) override;
|
||||||
virtual void close() override;
|
virtual void close() override;
|
||||||
|
|
|
@ -16,7 +16,7 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~netdev_none() { }
|
virtual ~netdev_none() = default;
|
||||||
virtual int init(const osd_options &options) override { return 0; }
|
virtual int init(const osd_options &options) override { return 0; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~pcap_module() { }
|
virtual ~pcap_module() = default;
|
||||||
|
|
||||||
virtual int init(const osd_options &options) override;
|
virtual int init(const osd_options &options) override;
|
||||||
virtual void exit() override;
|
virtual void exit() override;
|
||||||
|
|
|
@ -40,7 +40,7 @@ public:
|
||||||
taptun_module() : osd_module(OSD_NETDEV_PROVIDER, "taptun"), netdev_module()
|
taptun_module() : osd_module(OSD_NETDEV_PROVIDER, "taptun"), netdev_module()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
virtual ~taptun_module() { }
|
virtual ~taptun_module() = default;
|
||||||
|
|
||||||
virtual int init(const osd_options &options);
|
virtual int init(const osd_options &options);
|
||||||
virtual void exit();
|
virtual void exit();
|
||||||
|
|
|
@ -18,7 +18,7 @@ public:
|
||||||
: osd_module(OSD_OUTPUT_PROVIDER, "console"), output_module()
|
: osd_module(OSD_OUTPUT_PROVIDER, "console"), output_module()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
virtual ~output_console() { }
|
virtual ~output_console() = default;
|
||||||
|
|
||||||
virtual int init(const osd_options &options) override { return 0; }
|
virtual int init(const osd_options &options) override { return 0; }
|
||||||
virtual void exit() override { }
|
virtual void exit() override { }
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
class output_client
|
class output_client
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
virtual ~output_client() {}
|
virtual ~output_client() = default;
|
||||||
virtual void deliver(std::string &msg) = 0;
|
virtual void deliver(std::string &msg) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -197,9 +197,7 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~output_network()
|
virtual ~output_network() = default;
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
virtual int init(const osd_options &options) override
|
virtual int init(const osd_options &options) override
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,7 +18,7 @@ public:
|
||||||
: osd_module(OSD_OUTPUT_PROVIDER, "none"), output_module()
|
: osd_module(OSD_OUTPUT_PROVIDER, "none"), output_module()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
virtual ~output_none() { }
|
virtual ~output_none() = default;
|
||||||
|
|
||||||
virtual int init(const osd_options &options) override { return 0; }
|
virtual int init(const osd_options &options) override { return 0; }
|
||||||
virtual void exit() override { }
|
virtual void exit() override { }
|
||||||
|
|
|
@ -69,7 +69,7 @@ public:
|
||||||
: osd_module(OSD_OUTPUT_PROVIDER, "windows"), output_module(), m_output_hwnd(nullptr), m_clientlist(nullptr)
|
: osd_module(OSD_OUTPUT_PROVIDER, "windows"), output_module(), m_output_hwnd(nullptr), m_clientlist(nullptr)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
virtual ~output_win32() { }
|
virtual ~output_win32() = default;
|
||||||
|
|
||||||
virtual int init(const osd_options &options) override;
|
virtual int init(const osd_options &options) override;
|
||||||
virtual void exit() override;
|
virtual void exit() override;
|
||||||
|
|
|
@ -40,10 +40,6 @@ bgfx_input_pair::bgfx_input_pair(int index, std::string sampler, std::string tex
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bgfx_input_pair::~bgfx_input_pair()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void bgfx_input_pair::bind(bgfx_effect *effect, const int32_t screen) const
|
void bgfx_input_pair::bind(bgfx_effect *effect, const int32_t screen) const
|
||||||
{
|
{
|
||||||
if (effect->uniform(m_sampler) == nullptr)
|
if (effect->uniform(m_sampler) == nullptr)
|
||||||
|
|
|
@ -27,7 +27,7 @@ class bgfx_input_pair : public slider_changed_notifier
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
bgfx_input_pair(int index, std::string sampler, std::string texture, std::vector<std::string> available_textures, std::string selection, chain_manager& chains, uint32_t screen_index);
|
bgfx_input_pair(int index, std::string sampler, std::string texture, std::vector<std::string> available_textures, std::string selection, chain_manager& chains, uint32_t screen_index);
|
||||||
~bgfx_input_pair();
|
~bgfx_input_pair() = default;
|
||||||
|
|
||||||
void bind(bgfx_effect *effect, const int32_t screen) const;
|
void bind(bgfx_effect *effect, const int32_t screen) const;
|
||||||
int32_t texture_changed(int32_t index, std::string *str, int32_t newval);
|
int32_t texture_changed(int32_t index, std::string *str, int32_t newval);
|
||||||
|
|
|
@ -60,7 +60,7 @@ public:
|
||||||
m_buffer_overflows(0)
|
m_buffer_overflows(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
virtual ~sound_direct_sound() { }
|
virtual ~sound_direct_sound() = default;
|
||||||
|
|
||||||
virtual int init(osd_options const &options) override;
|
virtual int init(osd_options const &options) override;
|
||||||
virtual void exit() override;
|
virtual void exit() override;
|
||||||
|
|
|
@ -18,7 +18,7 @@ public:
|
||||||
: osd_module(OSD_SOUND_PROVIDER, "none"), sound_module()
|
: osd_module(OSD_SOUND_PROVIDER, "none"), sound_module()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
virtual ~sound_none() { }
|
virtual ~sound_none() = default;
|
||||||
|
|
||||||
virtual int init(const osd_options &options) override { return 0; }
|
virtual int init(const osd_options &options) override { return 0; }
|
||||||
virtual void exit() override { }
|
virtual void exit() override { }
|
||||||
|
|
|
@ -38,7 +38,7 @@ public:
|
||||||
: osd_module(OSD_SOUND_PROVIDER, "portaudio"), sound_module()
|
: osd_module(OSD_SOUND_PROVIDER, "portaudio"), sound_module()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
virtual ~sound_pa() { }
|
virtual ~sound_pa() = default;
|
||||||
|
|
||||||
virtual int init(osd_options const &options) override;
|
virtual int init(osd_options const &options) override;
|
||||||
virtual void exit() override;
|
virtual void exit() override;
|
||||||
|
|
|
@ -226,7 +226,7 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~sound_xaudio2() { }
|
virtual ~sound_xaudio2() = default;
|
||||||
|
|
||||||
bool probe() override;
|
bool probe() override;
|
||||||
int init(osd_options const &options) override;
|
int init(osd_options const &options) override;
|
||||||
|
|
|
@ -42,10 +42,6 @@ osd_netdev::osd_netdev(class device_network_interface *ifdev, int rate)
|
||||||
m_timer->adjust(attotime::from_hz(rate), 0, attotime::from_hz(rate));
|
m_timer->adjust(attotime::from_hz(rate), 0, attotime::from_hz(rate));
|
||||||
}
|
}
|
||||||
|
|
||||||
osd_netdev::~osd_netdev()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void osd_netdev::start()
|
void osd_netdev::start()
|
||||||
{
|
{
|
||||||
m_timer->enable(true);
|
m_timer->enable(true);
|
||||||
|
|
|
@ -21,7 +21,7 @@ public:
|
||||||
create_netdev func;
|
create_netdev func;
|
||||||
};
|
};
|
||||||
osd_netdev(class device_network_interface *ifdev, int rate);
|
osd_netdev(class device_network_interface *ifdev, int rate);
|
||||||
virtual ~osd_netdev();
|
virtual ~osd_netdev() = default;
|
||||||
void start();
|
void start();
|
||||||
void stop();
|
void stop();
|
||||||
|
|
||||||
|
|
|
@ -489,15 +489,6 @@ windows_osd_interface::windows_osd_interface(windows_options &options)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//============================================================
|
|
||||||
// destructor
|
|
||||||
//============================================================
|
|
||||||
|
|
||||||
windows_osd_interface::~windows_osd_interface()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//============================================================
|
//============================================================
|
||||||
// video_register
|
// video_register
|
||||||
//============================================================
|
//============================================================
|
||||||
|
|
|
@ -275,7 +275,7 @@ class windows_osd_interface : public osd_common_t
|
||||||
public:
|
public:
|
||||||
// construction/destruction
|
// construction/destruction
|
||||||
windows_osd_interface(windows_options &options);
|
windows_osd_interface(windows_options &options);
|
||||||
virtual ~windows_osd_interface();
|
virtual ~windows_osd_interface() = default;
|
||||||
|
|
||||||
// general overridables
|
// general overridables
|
||||||
virtual void init(running_machine &machine) override;
|
virtual void init(running_machine &machine) override;
|
||||||
|
|
Loading…
Reference in New Issue