diff options
author | Aaron Giles <aaron@aarongiles.com> | 2014-02-20 18:11:00 +0000 |
---|---|---|
committer | Aaron Giles <aaron@aarongiles.com> | 2014-02-20 18:11:00 +0000 |
commit | dd15b719a3c01392a36eb3e5710e6cf0d15b6770 (patch) | |
tree | 75954efc8ae4a2073faaacca7298661366b5bf2f /src/emu/memory.h | |
parent | 9fa82ef4c3d247a7279cea7f423697524abdbd6b (diff) |
Another round of auto_alloc_array conversions.
Some minor enhancements to dynamic_array, including clearing to specific values
and expanding and clearing newly allocated values.
Diffstat (limited to 'src/emu/memory.h')
-rw-r--r-- | src/emu/memory.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/emu/memory.h b/src/emu/memory.h index 0c227b422d2..da956d4975f 100644 --- a/src/emu/memory.h +++ b/src/emu/memory.h @@ -598,7 +598,7 @@ private: address_space & m_space; // which address space are we associated with? offs_t m_bytestart, m_byteend; // byte-normalized start/end for verifying a match UINT8 * m_data; // pointer to the data for this block - UINT8 * m_allocated; // pointer to the actually allocated block + dynamic_buffer m_allocated; // pointer to the actually allocated block }; @@ -700,8 +700,7 @@ private: offs_t m_bytestart; // byte-adjusted start offset offs_t m_byteend; // byte-adjusted end offset int m_curentry; // current entry - bank_entry * m_entry; // array of entries (dynamically allocated) - int m_entry_count; // number of allocated entries + dynamic_array<bank_entry> m_entry; // array of entries (dynamically allocated) astring m_name; // friendly name for this bank astring m_tag; // tag for this bank simple_list<bank_reference> m_reflist; // linked list of address spaces referencing this bank |