Eliminate vestigial member that was behind machine().first_screen() (nw)

This commit is contained in:
AJR 2018-03-21 14:16:13 -04:00
parent c32176f2bb
commit 358e6b23be
2 changed files with 1 additions and 8 deletions

View File

@ -107,8 +107,7 @@ osd_interface &running_machine::osd() const
//-------------------------------------------------
running_machine::running_machine(const machine_config &_config, machine_manager &manager)
: primary_screen(nullptr),
m_side_effects_disabled(0),
: m_side_effects_disabled(0),
debug_flags(0),
m_config(_config),
m_system(_config.gamedrv()),
@ -143,9 +142,6 @@ running_machine::running_machine(const machine_config &_config, machine_manager
for (device_t &device : iter)
device.set_machine(*this);
// find devices
primary_screen = screen_device_iterator(root_device()).first();
// fetch core options
if (options().debug())
debug_flags = (DEBUG_FLAG_ENABLED | DEBUG_FLAG_CALL_HOOK) | (DEBUG_FLAG_OSD_ENABLED);

View File

@ -258,9 +258,6 @@ public:
std::string get_statename(const char *statename_opt) const;
private:
// video-related information
screen_device * primary_screen; // the primary screen device, or nullptr if screenless
// side effect disable counter
u32 m_side_effects_disabled;