mirror of
https://github.com/holub/mame
synced 2025-06-03 19:36:26 +03:00
there are reasons for things being the way they were (nw)
This commit is contained in:
parent
a984b33ada
commit
3536bbdd71
@ -307,7 +307,7 @@ void uml::instruction::configure(opcode_t op, u8 size, condition_t condition)
|
||||
// parameter
|
||||
//-------------------------------------------------
|
||||
|
||||
void uml::instruction::configure(opcode_t op, u8 size, const parameter &p0, condition_t condition)
|
||||
void uml::instruction::configure(opcode_t op, u8 size, parameter p0, condition_t condition)
|
||||
{
|
||||
// fill in the instruction
|
||||
m_opcode = opcode_t(u8(op));
|
||||
@ -327,7 +327,7 @@ void uml::instruction::configure(opcode_t op, u8 size, const parameter &p0, cond
|
||||
// parameters
|
||||
//-------------------------------------------------
|
||||
|
||||
void uml::instruction::configure(opcode_t op, u8 size, const parameter &p0, const parameter &p1, condition_t condition)
|
||||
void uml::instruction::configure(opcode_t op, u8 size, parameter p0, parameter p1, condition_t condition)
|
||||
{
|
||||
// fill in the instruction
|
||||
m_opcode = opcode_t(u8(op));
|
||||
@ -348,7 +348,7 @@ void uml::instruction::configure(opcode_t op, u8 size, const parameter &p0, cons
|
||||
// parameters
|
||||
//-------------------------------------------------
|
||||
|
||||
void uml::instruction::configure(opcode_t op, u8 size, const parameter &p0, const parameter &p1, const parameter &p2, condition_t condition)
|
||||
void uml::instruction::configure(opcode_t op, u8 size, parameter p0, parameter p1, parameter p2, condition_t condition)
|
||||
{
|
||||
// fill in the instruction
|
||||
m_opcode = opcode_t(u8(op));
|
||||
@ -370,7 +370,7 @@ void uml::instruction::configure(opcode_t op, u8 size, const parameter &p0, cons
|
||||
// parameters
|
||||
//-------------------------------------------------
|
||||
|
||||
void uml::instruction::configure(opcode_t op, u8 size, const parameter &p0, const parameter &p1, const parameter &p2, const parameter &p3, condition_t condition)
|
||||
void uml::instruction::configure(opcode_t op, u8 size, parameter p0, parameter p1, parameter p2, parameter p3, condition_t condition)
|
||||
{
|
||||
// fill in the instruction
|
||||
m_opcode = opcode_t(u8(op));
|
||||
|
@ -577,10 +577,10 @@ namespace uml
|
||||
private:
|
||||
// internal configuration
|
||||
void configure(opcode_t op, u8 size, condition_t cond = COND_ALWAYS);
|
||||
void configure(opcode_t op, u8 size, const parameter &p0, condition_t cond = COND_ALWAYS);
|
||||
void configure(opcode_t op, u8 size, const parameter &p0, const parameter &p1, condition_t cond = COND_ALWAYS);
|
||||
void configure(opcode_t op, u8 size, const parameter &p0, const parameter &p1, const parameter &p2, condition_t cond = COND_ALWAYS);
|
||||
void configure(opcode_t op, u8 size, const parameter &p0, const parameter &p1, const parameter &p2, const parameter &p3, condition_t cond = COND_ALWAYS);
|
||||
void configure(opcode_t op, u8 size, parameter p0, condition_t cond = COND_ALWAYS);
|
||||
void configure(opcode_t op, u8 size, parameter p0, parameter p1, condition_t cond = COND_ALWAYS);
|
||||
void configure(opcode_t op, u8 size, parameter p0, parameter p1, parameter p2, condition_t cond = COND_ALWAYS);
|
||||
void configure(opcode_t op, u8 size, parameter p0, parameter p1, parameter p2, parameter p3, condition_t cond = COND_ALWAYS);
|
||||
|
||||
// opcode validation and simplification
|
||||
void validate();
|
||||
|
@ -1161,6 +1161,15 @@ 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
|
||||
filename, read it into memory, and return a
|
||||
|
@ -61,7 +61,7 @@ public:
|
||||
static osd_file::error open_proxy(core_file &file, ptr &proxy);
|
||||
|
||||
// close an open file
|
||||
virtual ~core_file() = default;
|
||||
virtual ~core_file();
|
||||
|
||||
// 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;
|
||||
|
@ -125,6 +125,15 @@ core_options::entry::entry(std::string &&name, core_options::option_type type, c
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// entry - destructor
|
||||
//-------------------------------------------------
|
||||
|
||||
core_options::entry::~entry()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// entry::value
|
||||
//-------------------------------------------------
|
||||
@ -327,6 +336,15 @@ core_options::simple_entry::simple_entry(std::vector<std::string> &&names, const
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// simple_entry - destructor
|
||||
//-------------------------------------------------
|
||||
|
||||
core_options::simple_entry::~simple_entry()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// simple_entry::value
|
||||
//-------------------------------------------------
|
||||
@ -404,6 +422,15 @@ const char *core_options::simple_entry::maximum() const noexcept
|
||||
// CORE OPTIONS
|
||||
//**************************************************************************
|
||||
|
||||
//-------------------------------------------------
|
||||
// ~core_options - destructor
|
||||
//-------------------------------------------------
|
||||
|
||||
core_options::~core_options()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// add_entry - adds an entry
|
||||
//-------------------------------------------------
|
||||
|
@ -111,7 +111,7 @@ public:
|
||||
entry(entry &&) = delete;
|
||||
entry& operator=(const entry &) = delete;
|
||||
entry& operator=(entry &&) = delete;
|
||||
virtual ~entry() = default;
|
||||
virtual ~entry();
|
||||
|
||||
// accessors
|
||||
const std::vector<std::string> &names() const noexcept { return m_names; }
|
||||
@ -152,7 +152,7 @@ public:
|
||||
core_options(core_options &&) = default;
|
||||
core_options& operator=(const core_options &) = delete;
|
||||
core_options& operator=(core_options &&) = default;
|
||||
virtual ~core_options() = default;
|
||||
virtual ~core_options();
|
||||
|
||||
// getters
|
||||
const std::string &command() const noexcept { return m_command; }
|
||||
@ -213,7 +213,7 @@ private:
|
||||
simple_entry(simple_entry &&) = delete;
|
||||
simple_entry& operator=(const simple_entry &) = delete;
|
||||
simple_entry& operator=(simple_entry &&) = delete;
|
||||
~simple_entry() = default;
|
||||
virtual ~simple_entry();
|
||||
|
||||
// getters
|
||||
virtual const char *value() const noexcept override;
|
||||
|
@ -1479,4 +1479,9 @@ void archive_file::cache_clear()
|
||||
m7z_file_cache_clear();
|
||||
}
|
||||
|
||||
|
||||
archive_file::~archive_file()
|
||||
{
|
||||
}
|
||||
|
||||
} // namespace util
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
static error open_7z(const std::string &filename, ptr &result);
|
||||
|
||||
// close an archive file (may actually be left open due to caching)
|
||||
virtual ~archive_file() = default;
|
||||
virtual ~archive_file();
|
||||
|
||||
// clear out all open files from the cache
|
||||
static void cache_clear();
|
||||
|
@ -614,6 +614,16 @@ 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
|
||||
// -------------------------------------------------
|
||||
|
@ -34,7 +34,7 @@ public:
|
||||
static osd_file::error open(std::string const &path, ptr &directory);
|
||||
|
||||
// closes a directory
|
||||
virtual ~zippath_directory() = default;
|
||||
virtual ~zippath_directory();
|
||||
|
||||
// reads a directory entry
|
||||
virtual osd::directory::entry const *readdir() = 0;
|
||||
|
@ -100,7 +100,7 @@ public:
|
||||
|
||||
auto kbrst_cb() { return m_kbrst_cb.bind(); }
|
||||
|
||||
a1000_kbreset_device &set_delays(const attotime &detect, const attotime &stray, const attotime &output)
|
||||
a1000_kbreset_device &set_delays(attotime detect, attotime stray, attotime output)
|
||||
{
|
||||
m_detect_time = detect;
|
||||
m_stray_time = stray;
|
||||
|
@ -27,11 +27,11 @@ WRITE8_MEMBER(nes_state::nes_vh_sprite_dma_w)
|
||||
|
||||
void nes_state::nes_map(address_map &map)
|
||||
{
|
||||
map(0x0000, 0x07ff).ram().mirror(0x1800); /* RAM */
|
||||
map(0x2000, 0x3fff).rw(m_ppu, FUNC(ppu2c0x_device::read), FUNC(ppu2c0x_device::write)); /* PPU registers */
|
||||
map(0x4014, 0x4014).w(FUNC(nes_state::nes_vh_sprite_dma_w)); /* stupid address space hole */
|
||||
map(0x4016, 0x4016).rw(FUNC(nes_state::nes_in0_r), FUNC(nes_state::nes_in0_w)); /* IN0 - input port 1 */
|
||||
map(0x4017, 0x4017).r(FUNC(nes_state::nes_in1_r)); /* IN1 - input port 2 */
|
||||
map(0x0000, 0x07ff).ram().mirror(0x1800); // RAM
|
||||
map(0x2000, 0x3fff).rw(m_ppu, FUNC(ppu2c0x_device::read), FUNC(ppu2c0x_device::write)); // PPU registers
|
||||
map(0x4014, 0x4014).w(FUNC(nes_state::nes_vh_sprite_dma_w)); // stupid address space hole
|
||||
map(0x4016, 0x4016).rw(FUNC(nes_state::nes_in0_r), FUNC(nes_state::nes_in0_w)); // IN0 - input port 1
|
||||
map(0x4017, 0x4017).r(FUNC(nes_state::nes_in1_r)); // IN1 - input port 2
|
||||
// 0x4100-0x5fff -> LOW HANDLER defined on a pcb base
|
||||
// 0x6000-0x7fff -> MID HANDLER defined on a pcb base
|
||||
// 0x8000-0xffff -> HIGH HANDLER defined on a pcb base
|
||||
@ -91,6 +91,7 @@ void nes_state::nes(machine_config &config)
|
||||
void nes_state::nespal(machine_config &config)
|
||||
{
|
||||
nes(config);
|
||||
|
||||
/* basic machine hardware */
|
||||
m_maincpu->set_clock(PAL_APU_CLOCK);
|
||||
|
||||
@ -111,6 +112,7 @@ void nes_state::nespal(machine_config &config)
|
||||
void nes_state::famicom(machine_config &config)
|
||||
{
|
||||
nes(config);
|
||||
|
||||
NES_CONTROL_PORT(config.replace(), m_ctrl1, fc_control_port1_devices, "joypad");
|
||||
NES_CONTROL_PORT(config.replace(), m_ctrl2, fc_control_port2_devices, "joypad");
|
||||
NES_CONTROL_PORT(config, m_exp, fc_expansion_devices, nullptr);
|
||||
@ -125,6 +127,7 @@ void nes_state::famicom(machine_config &config)
|
||||
void nes_state::nespalc(machine_config &config)
|
||||
{
|
||||
nespal(config);
|
||||
|
||||
m_maincpu->set_clock(PALC_APU_CLOCK);
|
||||
m_maincpu->set_addrmap(AS_PROGRAM, &nes_state::nes_map);
|
||||
|
||||
@ -144,6 +147,7 @@ void nes_state::nespalc(machine_config &config)
|
||||
void nes_state::famipalc(machine_config &config)
|
||||
{
|
||||
nespalc(config);
|
||||
|
||||
NES_CONTROL_PORT(config.replace(), m_ctrl1, fc_control_port1_devices, "joypad");
|
||||
NES_CONTROL_PORT(config.replace(), m_ctrl2, fc_control_port2_devices, "joypad");
|
||||
NES_CONTROL_PORT(config, m_exp, fc_expansion_devices, nullptr);
|
||||
@ -157,6 +161,7 @@ void nes_state::famipalc(machine_config &config)
|
||||
void nes_state::suborkbd(machine_config &config)
|
||||
{
|
||||
famipalc(config);
|
||||
|
||||
/* TODO: emulate the parallel port bus! */
|
||||
m_exp->set_default_option("subor_keyboard");
|
||||
m_exp->set_fixed(true);
|
||||
|
@ -52,8 +52,8 @@
|
||||
class nes_base_state : public driver_device
|
||||
{
|
||||
public:
|
||||
nes_base_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: driver_device(mconfig, type, tag),
|
||||
nes_base_state(const machine_config &mconfig, device_type type, const char *tag) :
|
||||
driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_ctrl1(*this, "ctrl1"),
|
||||
m_ctrl2(*this, "ctrl2")
|
||||
@ -71,8 +71,8 @@ public:
|
||||
class nes_state : public nes_base_state
|
||||
{
|
||||
public:
|
||||
nes_state(const machine_config &mconfig, device_type type, const char *tag)
|
||||
: nes_base_state(mconfig, type, tag),
|
||||
nes_state(const machine_config &mconfig, device_type type, const char *tag) :
|
||||
nes_base_state(mconfig, type, tag),
|
||||
m_ppu(*this, "ppu"),
|
||||
m_screen(*this, "screen"),
|
||||
m_exp(*this, "exp"),
|
||||
|
@ -91,6 +91,11 @@ cleanup:
|
||||
}
|
||||
|
||||
|
||||
consolewin_info::~consolewin_info()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void consolewin_info::set_cpu(device_t &device)
|
||||
{
|
||||
// exit if this cpu is already selected
|
||||
|
@ -19,7 +19,7 @@ class consolewin_info : public disasmbasewin_info
|
||||
{
|
||||
public:
|
||||
consolewin_info(debugger_windows_interface &debugger);
|
||||
virtual ~consolewin_info() = default;
|
||||
virtual ~consolewin_info();
|
||||
|
||||
void set_cpu(device_t &device);
|
||||
|
||||
|
@ -48,6 +48,11 @@ debugwin_info::debugwin_info(debugger_windows_interface &debugger, bool is_main_
|
||||
}
|
||||
|
||||
|
||||
debugwin_info::~debugwin_info()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void debugwin_info::destroy()
|
||||
{
|
||||
for (int curview = 0; curview < MAX_VIEWS; curview++)
|
||||
|
@ -19,7 +19,7 @@ class debugwin_info : protected debugbase_info
|
||||
{
|
||||
public:
|
||||
debugwin_info(debugger_windows_interface &debugger, bool is_main_console, LPCSTR title, WNDPROC handler);
|
||||
virtual ~debugwin_info() = default;
|
||||
virtual ~debugwin_info();
|
||||
|
||||
bool is_valid() const { return m_wnd != nullptr; }
|
||||
|
||||
|
@ -49,6 +49,11 @@ disasmbasewin_info::disasmbasewin_info(debugger_windows_interface &debugger, boo
|
||||
}
|
||||
|
||||
|
||||
disasmbasewin_info::~disasmbasewin_info()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
bool disasmbasewin_info::handle_key(WPARAM wparam, LPARAM lparam)
|
||||
{
|
||||
if (GetAsyncKeyState(VK_CONTROL) & 0x8000)
|
||||
|
@ -19,7 +19,7 @@ class disasmbasewin_info : public editwin_info
|
||||
{
|
||||
public:
|
||||
disasmbasewin_info(debugger_windows_interface &debugger, bool is_main_console, LPCSTR title, WNDPROC handler);
|
||||
virtual ~disasmbasewin_info() = default;
|
||||
virtual ~disasmbasewin_info();
|
||||
|
||||
virtual bool handle_key(WPARAM wparam, LPARAM lparam) override;
|
||||
|
||||
|
@ -16,6 +16,11 @@ disasmview_info::disasmview_info(debugger_windows_interface &debugger, debugwin_
|
||||
}
|
||||
|
||||
|
||||
disasmview_info::~disasmview_info()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
disasm_right_column disasmview_info::right_column() const
|
||||
{
|
||||
return view<debug_view_disasm>()->right_column();
|
||||
|
@ -21,7 +21,7 @@ class disasmview_info : public debugview_info
|
||||
{
|
||||
public:
|
||||
disasmview_info(debugger_windows_interface &debugger, debugwin_info &owner, HWND parent);
|
||||
virtual ~disasmview_info() = default;
|
||||
virtual ~disasmview_info();
|
||||
|
||||
disasm_right_column right_column() const;
|
||||
offs_t selected_address() const;
|
||||
@ -30,4 +30,4 @@ public:
|
||||
void set_right_column(disasm_right_column contents);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // MAME_DEBUGGER_WIN_DISASMVIEWINFO_H
|
||||
|
@ -45,6 +45,11 @@ disasmwin_info::disasmwin_info(debugger_windows_interface &debugger) :
|
||||
}
|
||||
|
||||
|
||||
disasmview_info::~disasmwin_info()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void disasmwin_info::recompute_children()
|
||||
{
|
||||
// compute a client rect
|
||||
|
@ -19,7 +19,7 @@ class disasmwin_info : public disasmbasewin_info
|
||||
{
|
||||
public:
|
||||
disasmwin_info(debugger_windows_interface &debugger);
|
||||
virtual ~disasmwin_info() = default;
|
||||
virtual ~disasmwin_info();
|
||||
|
||||
protected:
|
||||
virtual void recompute_children() override;
|
||||
|
@ -51,6 +51,11 @@ editwin_info::editwin_info(debugger_windows_interface &debugger, bool is_main_co
|
||||
}
|
||||
|
||||
|
||||
editwin_info::~editwin_info()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
bool editwin_info::restore_field(HWND wnd)
|
||||
{
|
||||
if (wnd == m_editwnd)
|
||||
|
@ -22,7 +22,7 @@ class editwin_info : public debugwin_info
|
||||
{
|
||||
public:
|
||||
editwin_info(debugger_windows_interface &debugger, bool is_main_console, LPCSTR title, WNDPROC handler);
|
||||
virtual ~editwin_info() = default;
|
||||
virtual ~editwin_info();
|
||||
|
||||
virtual bool restore_field(HWND wnd) override;
|
||||
|
||||
|
@ -18,6 +18,11 @@ logview_info::logview_info(debugger_windows_interface &debugger, debugwin_info &
|
||||
}
|
||||
|
||||
|
||||
logview_info::~logview_info()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void logview_info::clear()
|
||||
{
|
||||
view<debug_view_log>()->clear();
|
||||
|
@ -19,9 +19,9 @@ class logview_info : public debugview_info
|
||||
{
|
||||
public:
|
||||
logview_info(debugger_windows_interface &debugger, debugwin_info &owner, HWND parent);
|
||||
virtual ~logview_info() = default;
|
||||
virtual ~logview_info();
|
||||
|
||||
void clear();
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // MAME_DEBUGGER_WIN_LOGVIEWINFO_H
|
||||
|
@ -49,6 +49,11 @@ logwin_info::logwin_info(debugger_windows_interface &debugger) :
|
||||
}
|
||||
|
||||
|
||||
logwin_info::~logwin_info()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
bool logwin_info::handle_command(WPARAM wparam, LPARAM lparam)
|
||||
{
|
||||
if ((HIWORD(wparam) == 0) && (LOWORD(wparam) == ID_CLEAR_LOG))
|
||||
|
@ -19,7 +19,7 @@ class logwin_info : public debugwin_info
|
||||
{
|
||||
public:
|
||||
logwin_info(debugger_windows_interface &debugger);
|
||||
virtual ~logwin_info() = default;
|
||||
virtual ~logwin_info();
|
||||
|
||||
protected:
|
||||
virtual bool handle_command(WPARAM wparam, LPARAM lparam) override;
|
||||
|
@ -18,6 +18,11 @@ memoryview_info::memoryview_info(debugger_windows_interface &debugger, debugwin_
|
||||
}
|
||||
|
||||
|
||||
memoryview_info::~memoryview_info()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
uint8_t memoryview_info::data_format() const
|
||||
{
|
||||
return view<debug_view_memory>()->get_data_format();
|
||||
|
@ -19,7 +19,7 @@ class memoryview_info : public debugview_info
|
||||
{
|
||||
public:
|
||||
memoryview_info(debugger_windows_interface &debugger, debugwin_info &owner, HWND parent);
|
||||
virtual ~memoryview_info() = default;
|
||||
virtual ~memoryview_info();
|
||||
|
||||
uint8_t data_format() const;
|
||||
uint32_t chunks_per_row() const;
|
||||
@ -33,4 +33,4 @@ public:
|
||||
void set_physical(bool physical);
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif // MAME_DEBUGGER_WIN_MEMORYVIEWINFO_H
|
||||
|
@ -51,6 +51,11 @@ pointswin_info::pointswin_info(debugger_windows_interface &debugger) :
|
||||
}
|
||||
|
||||
|
||||
pointswin_info::~pointswin_info()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
bool pointswin_info::handle_key(WPARAM wparam, LPARAM lparam)
|
||||
{
|
||||
if (GetAsyncKeyState(VK_CONTROL) & 0x8000)
|
||||
|
@ -19,7 +19,7 @@ class pointswin_info : public debugwin_info
|
||||
{
|
||||
public:
|
||||
pointswin_info(debugger_windows_interface &debugger);
|
||||
virtual ~pointswin_info() = default;
|
||||
virtual ~pointswin_info();
|
||||
|
||||
virtual bool handle_key(WPARAM wparam, LPARAM lparam) override;
|
||||
|
||||
|
@ -77,7 +77,7 @@ class symbol_manager
|
||||
public:
|
||||
// construction/destruction
|
||||
symbol_manager(const char *argv0);
|
||||
~symbol_manager() = default;
|
||||
~symbol_manager();
|
||||
|
||||
// getters
|
||||
uintptr_t last_base() const { return m_last_base; }
|
||||
@ -128,7 +128,7 @@ class sampling_profiler
|
||||
{
|
||||
public:
|
||||
sampling_profiler(uint32_t max_seconds, uint8_t stack_depth);
|
||||
~sampling_profiler() = default;
|
||||
~sampling_profiler();
|
||||
|
||||
void start();
|
||||
void stop();
|
||||
@ -321,6 +321,15 @@ symbol_manager::symbol_manager(const char *argv0)
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// ~symbol_manager - destructor
|
||||
//-------------------------------------------------
|
||||
|
||||
symbol_manager::~symbol_manager()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// symbol_for_address - return a symbol by looking
|
||||
// it up either in the cache or by scanning the
|
||||
@ -646,6 +655,15 @@ sampling_profiler::sampling_profiler(uint32_t max_seconds, uint8_t stack_depth =
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// sampling_profiler - destructor
|
||||
//-------------------------------------------------
|
||||
|
||||
sampling_profiler::~sampling_profiler()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
////-------------------------------------------------
|
||||
// start - begin gathering profiling information
|
||||
//-------------------------------------------------
|
||||
|
||||
|
@ -40,6 +40,10 @@ 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
|
||||
{
|
||||
if (effect->uniform(m_sampler) == nullptr)
|
||||
|
@ -27,7 +27,7 @@ class bgfx_input_pair : public slider_changed_notifier
|
||||
{
|
||||
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() = default;
|
||||
virtual ~bgfx_input_pair();
|
||||
|
||||
void bind(bgfx_effect *effect, const int32_t screen) const;
|
||||
int32_t texture_changed(int32_t index, std::string *str, int32_t newval);
|
||||
|
@ -42,6 +42,10 @@ osd_netdev::osd_netdev(class device_network_interface *ifdev, int rate)
|
||||
m_timer->adjust(attotime::from_hz(rate), 0, attotime::from_hz(rate));
|
||||
}
|
||||
|
||||
osd_netdev::~osd_netdev()
|
||||
{
|
||||
}
|
||||
|
||||
void osd_netdev::start()
|
||||
{
|
||||
m_timer->enable(true);
|
||||
|
@ -21,7 +21,7 @@ public:
|
||||
create_netdev func;
|
||||
};
|
||||
osd_netdev(class device_network_interface *ifdev, int rate);
|
||||
virtual ~osd_netdev() = default;
|
||||
virtual ~osd_netdev();
|
||||
void start();
|
||||
void stop();
|
||||
|
||||
|
@ -489,6 +489,15 @@ windows_osd_interface::windows_osd_interface(windows_options &options)
|
||||
}
|
||||
|
||||
|
||||
//============================================================
|
||||
// destructor
|
||||
//============================================================
|
||||
|
||||
windows_osd_interface::~windows_osd_interface()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
//============================================================
|
||||
// video_register
|
||||
//============================================================
|
||||
|
@ -275,7 +275,7 @@ class windows_osd_interface : public osd_common_t
|
||||
public:
|
||||
// construction/destruction
|
||||
windows_osd_interface(windows_options &options);
|
||||
virtual ~windows_osd_interface() = default;
|
||||
virtual ~windows_osd_interface();
|
||||
|
||||
// general overridables
|
||||
virtual void init(running_machine &machine) override;
|
||||
|
Loading…
Reference in New Issue
Block a user