mirror of
https://github.com/holub/mame
synced 2025-04-25 17:56:43 +03:00
Eliminate vestigial member that was behind machine().first_screen() (nw)
This commit is contained in:
parent
c32176f2bb
commit
358e6b23be
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user