mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
Remove first_screen() accessor from machine_config now that it is not used, nw
This commit is contained in:
parent
e98970d9ec
commit
25c4b8d777
@ -104,10 +104,10 @@ machine_config::~machine_config()
|
||||
// screen device
|
||||
//-------------------------------------------------
|
||||
|
||||
screen_device *machine_config::first_screen() const
|
||||
{
|
||||
return screen_device_iterator(root_device()).first();
|
||||
}
|
||||
//screen_device *machine_config::first_screen() const
|
||||
//{
|
||||
// return screen_device_iterator(root_device()).first();
|
||||
//}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
// getters
|
||||
const game_driver &gamedrv() const { return m_gamedrv; }
|
||||
device_t &root_device() const { assert(m_root_device != nullptr); return *m_root_device; }
|
||||
screen_device *first_screen() const;
|
||||
//screen_device *first_screen() const;
|
||||
emu_options &options() const { return m_options; }
|
||||
inline device_t *device(const char *tag) const { return root_device().subdevice(tag); }
|
||||
template <class DeviceClass> inline DeviceClass *device(const char *tag) const { return downcast<DeviceClass *>(device(tag)); }
|
||||
|
Loading…
Reference in New Issue
Block a user