mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
Placed m_source variable in device_t and filled it with provided value (nw)
This commit is contained in:
parent
051011971f
commit
a36a1ebcd0
@ -101,6 +101,7 @@ device_t::device_t(const machine_config &mconfig, device_type type, const char *
|
||||
m_name(name),
|
||||
m_shortname(shortname),
|
||||
m_searchpath(shortname),
|
||||
m_source(source),
|
||||
m_owner(owner),
|
||||
m_next(NULL),
|
||||
|
||||
|
@ -157,6 +157,7 @@ public:
|
||||
const char *name() const { return m_name; }
|
||||
const char *shortname() const { return m_shortname; }
|
||||
const char *searchpath() const { return m_searchpath; }
|
||||
const char *source() const { return m_source; }
|
||||
device_t *owner() const { return m_owner; }
|
||||
device_t *next() const { return m_next; }
|
||||
UINT32 configured_clock() const { return m_configured_clock; }
|
||||
@ -297,6 +298,7 @@ protected:
|
||||
astring m_name; // name of the device
|
||||
astring m_shortname; // short name of the device
|
||||
astring m_searchpath; // search path, used for media loading
|
||||
astring m_source; // device source file name
|
||||
|
||||
// device relationships
|
||||
device_t * m_owner; // device that owns us
|
||||
|
Loading…
Reference in New Issue
Block a user