diff options
| author | 2015-01-28 09:20:10 +0100 | |
|---|---|---|
| committer | 2015-01-28 09:20:10 +0100 | |
| commit | 26e7a17b6326aa5a75a6276e52cf84a94c16d7a0 (patch) | |
| tree | bab4468226c59d590688e0ece892f5bfbca58736 /src/lib | |
| parent | 13b862c4fae88f0f819c2c4416d49249e4de45b9 (diff) | |
Cleanups and version bumpmame0158
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/util/coretmpl.h | 12 | ||||
| -rw-r--r-- | src/lib/util/palette.h | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/util/coretmpl.h b/src/lib/util/coretmpl.h index 55faa0fde0c..c441aabb147 100644 --- a/src/lib/util/coretmpl.h +++ b/src/lib/util/coretmpl.h @@ -100,12 +100,12 @@ public: void resize_keep_and_clear_new(int count, UINT8 data = 0) { int oldcount = m_count; resize_keep(count); if (oldcount < m_count) clear_internal(oldcount, m_count - oldcount, data); } // batch operations - void copyfrom(const dynamic_array<_ElementType> &source) - { - resize(source.count()); - for (int i=0; i < source.count(); i++) - m_array[i] = source[i]; - } + void copyfrom(const dynamic_array<_ElementType> &source) + { + resize(source.count()); + for (int i=0; i < source.count(); i++) + m_array[i] = source[i]; + } private: // internal helpers diff --git a/src/lib/util/palette.h b/src/lib/util/palette.h index 0992655ee3c..23d11416053 100644 --- a/src/lib/util/palette.h +++ b/src/lib/util/palette.h @@ -171,7 +171,7 @@ public: // entry list getters const rgb_t *entry_list_raw() const { return m_entry_color; } const dynamic_array<rgb_t> *entry_list_adjusted_darray() const { return &m_adjusted_color; } - const rgb_t *entry_list_adjusted() const { return m_adjusted_color; } + const rgb_t *entry_list_adjusted() const { return m_adjusted_color; } const rgb_t *entry_list_adjusted_rgb15() const { return m_adjusted_rgb15; } // group adjustments |
