summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/mips/r3000.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2014-02-19 17:45:48 +0000
committer Aaron Giles <aaron@aarongiles.com>2014-02-19 17:45:48 +0000
commitdf5a4f15f848cbcb971fb4f6c611d6656fea401e (patch)
tree0cbb0e29830ec41d8528ab9d329b3e3c3104b96f /src/emu/cpu/mips/r3000.h
parentc33da39e3d5045e978cbec906a3fd38c67de95fc (diff)
Removed some auto_mallocs in favor of dynamic_arrays.
Added option to clear dynamic_arrays; on gcc this should assert if not done on POD (which is unsafe to memset).
Diffstat (limited to 'src/emu/cpu/mips/r3000.h')
-rw-r--r--src/emu/cpu/mips/r3000.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/mips/r3000.h b/src/emu/cpu/mips/r3000.h
index 5bdce4dcaf9..83819ace935 100644
--- a/src/emu/cpu/mips/r3000.h
+++ b/src/emu/cpu/mips/r3000.h
@@ -249,8 +249,8 @@ protected:
// cache memory
UINT32 * m_cache;
- UINT32 * m_icache;
- UINT32 * m_dcache;
+ dynamic_array<UINT32> m_icache;
+ dynamic_array<UINT32> m_dcache;
size_t m_cache_size;
size_t m_icache_size;
size_t m_dcache_size;