device.cpp: initialized a couple of variables, fixes numerous bugs in devnoclear debug build with bios roms in devices (nw)

This commit is contained in:
Ivan Vangelista 2020-05-13 12:15:38 +02:00 committed by GitHub
parent 6cd70881f8
commit 98cdea1b91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
// copyright-holders:Aaron Giles
/***************************************************************************
device.c
device.cpp
Device interface functions.
@ -95,6 +95,8 @@ device_t::device_t(const machine_config &mconfig, device_type type, const char *
, m_machine_config(mconfig)
, m_input_defaults(nullptr)
, m_system_bios(0)
, m_default_bios(0)
, m_default_bios_tag("")
, m_machine(nullptr)
@ -199,8 +201,8 @@ ioport_port *device_t::ioport(std::string tag) const
//-------------------------------------------------
// ioport - return a pointer to the I/O port
// object for a given port name
// parameter - return a pointer to a given
// parameter
//-------------------------------------------------
std::string device_t::parameter(const char *tag) const
@ -1095,7 +1097,7 @@ void device_interface::interface_pre_save()
//-------------------------------------------------
// interface_post_load - called after the loading a
// saved state, so that registered variables can
// be expaneded as necessary
// be expanded as necessary
//-------------------------------------------------
void device_interface::interface_post_load()