diff options
Diffstat (limited to 'src/emu/device.c')
-rw-r--r-- | src/emu/device.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/emu/device.c b/src/emu/device.c index 150c4dea58c..350a80d305c 100644 --- a/src/emu/device.c +++ b/src/emu/device.c @@ -101,12 +101,12 @@ device_t::device_t(const machine_config &mconfig, device_type type, const char * m_name(name), m_owner(owner), m_next(NULL), - + m_interface_list(NULL), m_execute(NULL), m_memory(NULL), m_state(NULL), - + m_configured_clock(clock), m_unscaled_clock(clock), m_clock(clock), @@ -141,12 +141,12 @@ device_t::device_t(const machine_config &mconfig, device_type type, const char * m_searchpath(shortname), m_owner(owner), m_next(NULL), - + m_interface_list(NULL), m_execute(NULL), m_memory(NULL), m_state(NULL), - + m_configured_clock(clock), m_unscaled_clock(clock), m_clock(clock), @@ -920,7 +920,7 @@ void *device_t::finder_base::find_memory(UINT8 width, size_t &bytes, bool requir memory_share *share = m_base.memshare(m_tag); if (share == NULL) return NULL; - + // check the width and warn if not correct if (width != 0 && share->width() != width) { @@ -928,7 +928,7 @@ void *device_t::finder_base::find_memory(UINT8 width, size_t &bytes, bool requir mame_printf_warning("Shared ptr '%s' found but is width %d, not %d as requested\n", m_tag, share->width(), width); return NULL; } - + // return results bytes = share->bytes(); return share->ptr(); @@ -937,7 +937,7 @@ void *device_t::finder_base::find_memory(UINT8 width, size_t &bytes, bool requir //------------------------------------------------- // report_missing - report missing objects and -// return true if it's ok +// return true if it's ok //------------------------------------------------- bool device_t::finder_base::report_missing(bool found, const char *objname, bool required) @@ -945,7 +945,7 @@ bool device_t::finder_base::report_missing(bool found, const char *objname, bool // just pass through in the found case if (found) return true; - + // otherwise, report if (required) mame_printf_error("Required %s '%s' not found\n", objname, m_tag); |