mirror of
https://github.com/holub/mame
synced 2025-07-04 17:38:08 +03:00
Remove commented code, nw
This commit is contained in:
parent
25c4b8d777
commit
06c75d0a08
@ -99,17 +99,6 @@ machine_config::~machine_config()
|
||||
}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// first_screen - return a pointer to the first
|
||||
// screen device
|
||||
//-------------------------------------------------
|
||||
|
||||
//screen_device *machine_config::first_screen() const
|
||||
//{
|
||||
// return screen_device_iterator(root_device()).first();
|
||||
//}
|
||||
|
||||
|
||||
//-------------------------------------------------
|
||||
// device_add - configuration helper to add a
|
||||
// new device
|
||||
|
@ -55,7 +55,6 @@ 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;
|
||||
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