mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
memarray.cpp: Remove unused initialization method taking address_space parameter
This commit is contained in:
parent
ca79d71af4
commit
907e04e649
2 changed files with 0 additions and 7 deletions
|
@ -90,11 +90,6 @@ void memory_array::set(void *base, u32 bytes, int membits, endianness_t endianne
|
|||
// set - additional setter variants
|
||||
//-------------------------------------------------
|
||||
|
||||
void memory_array::set(const address_space &space, void *base, u32 bytes, int bpe)
|
||||
{
|
||||
set(base, bytes, space.data_width(), space.endianness(), bpe);
|
||||
}
|
||||
|
||||
void memory_array::set(const memory_share &share, int bpe)
|
||||
{
|
||||
set(share.ptr(), share.bytes(), share.bitwidth(), share.endianness(), bpe);
|
||||
|
|
|
@ -42,14 +42,12 @@ public:
|
|||
memory_array();
|
||||
memory_array(void *base, u32 bytes, int membits, endianness_t endianness, int bpe) { set(base, bytes, membits, endianness, bpe); }
|
||||
template <typename _Type> memory_array(std::vector<_Type> &array, endianness_t endianness, int bpe) { set(array, endianness, bpe); }
|
||||
memory_array(const address_space &space, void *base, u32 bytes, int bpe) { set(space, base, bytes, bpe); }
|
||||
memory_array(const memory_share &share, int bpe) { set(share, bpe); }
|
||||
memory_array(const memory_array &array) { set(array); }
|
||||
|
||||
// configuration
|
||||
void set(void *base, u32 bytes, int membits, endianness_t endianness, int bpe);
|
||||
template <typename _Type> void set(std::vector<_Type> &array, endianness_t endianness, int bpe) { set(&array[0], array.size(), 8*sizeof(_Type), endianness, bpe); }
|
||||
void set(const address_space &space, void *base, u32 bytes, int bpe);
|
||||
void set(const memory_share &share, int bpe);
|
||||
void set(const memory_array &array);
|
||||
|
||||
|
|
Loading…
Reference in a new issue