From 907e04e649c2c1c17a3d44ec776ec397c336c30a Mon Sep 17 00:00:00 2001 From: AJR Date: Wed, 26 Jan 2022 09:13:03 -0500 Subject: [PATCH] memarray.cpp: Remove unused initialization method taking address_space parameter --- src/emu/memarray.cpp | 5 ----- src/emu/memarray.h | 2 -- 2 files changed, 7 deletions(-) diff --git a/src/emu/memarray.cpp b/src/emu/memarray.cpp index 22bfa17b80a..660e07ad9a1 100644 --- a/src/emu/memarray.cpp +++ b/src/emu/memarray.cpp @@ -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); diff --git a/src/emu/memarray.h b/src/emu/memarray.h index f9a7e406a8e..fc7e47c4b3c 100644 --- a/src/emu/memarray.h +++ b/src/emu/memarray.h @@ -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 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 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);