Previous 199869 Revisions Next

r22097 Tuesday 26th March, 2013 at 15:45:40 UTC by Miodrag Milanović
Placed m_source variable in device_t and filled it with provided value (nw)
[src/emu]device.c device.h

trunk/src/emu/device.c
r22096r22097
101101      m_name(name),
102102      m_shortname(shortname),
103103      m_searchpath(shortname),
104      m_source(source),
104105      m_owner(owner),
105106      m_next(NULL),
106107
trunk/src/emu/device.h
r22096r22097
157157   const char *name() const { return m_name; }
158158   const char *shortname() const { return m_shortname; }
159159   const char *searchpath() const { return m_searchpath; }
160   const char *source() const { return m_source; }
160161   device_t *owner() const { return m_owner; }
161162   device_t *next() const { return m_next; }
162163   UINT32 configured_clock() const { return m_configured_clock; }
r22096r22097
297298   astring                 m_name;                 // name of the device
298299   astring                 m_shortname;            // short name of the device
299300   astring                 m_searchpath;           // search path, used for media loading
301   astring               m_source;            // device source file name
300302
301303   // device relationships
302304   device_t *              m_owner;                // device that owns us

Previous 199869 Revisions Next


© 1997-2024 The MAME Team