mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
Fix win32 build. (nw)
This commit is contained in:
parent
9f6333e797
commit
1255f9aa63
@ -188,7 +188,7 @@ ATTR_COLD void truthtable_desc_t::setup(const char **truthtable, UINT32 disabled
|
||||
tindex[j] = k;
|
||||
}
|
||||
|
||||
help(0, inout, 0 , val, tindex);
|
||||
help(0, inout, 0 , val, tindex.data());
|
||||
ttline = pstring(truthtable[0]);
|
||||
truthtable++;
|
||||
}
|
||||
|
@ -51,18 +51,15 @@ public:
|
||||
m_list = NULL;
|
||||
}
|
||||
|
||||
ATTR_HOT /* inline */ operator _ListClass * () { return m_list; }
|
||||
ATTR_HOT /* inline */ operator const _ListClass * () const { return m_list; }
|
||||
|
||||
/* using the [] operator will not allow gcc to vectorize code because
|
||||
* basically a pointer is returned.
|
||||
* array works around this.
|
||||
*/
|
||||
|
||||
ATTR_HOT /* inline */ _ListClass *array() { return m_list; }
|
||||
ATTR_HOT /* inline */ _ListClass *data() { return m_list; }
|
||||
|
||||
ATTR_HOT /* inline */ _ListClass& operator[](const std::size_t index) { return m_list[index]; }
|
||||
ATTR_HOT /* inline */ const _ListClass& operator[](const std::size_t index) const { return m_list[index]; }
|
||||
ATTR_HOT /* inline */ _ListClass& operator[](std::size_t index) { return m_list[index]; }
|
||||
ATTR_HOT /* inline */ const _ListClass& operator[](std::size_t index) const { return m_list[index]; }
|
||||
|
||||
ATTR_HOT /* inline */ std::size_t size() const { return m_capacity; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user