summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-11-10 23:10:39 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-11-10 23:10:39 -0500
commit3bc0aad093d7eb5bc06fc2aa6396f84069dd1b25 (patch)
treea6d4d826a1a26f5033d5a3c814680d020b6c11e7 /src/mame/includes
parent67f30c15981080b007f02e80a4b631858f75df44 (diff)
Eliminate a few more uses of auto_alloc (nw)
Diffstat (limited to 'src/mame/includes')
-rw-r--r--src/mame/includes/cischeat.h1
-rw-r--r--src/mame/includes/irobot.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/includes/cischeat.h b/src/mame/includes/cischeat.h
index 3380f8c57f1..0cad6346e6f 100644
--- a/src/mame/includes/cischeat.h
+++ b/src/mame/includes/cischeat.h
@@ -171,6 +171,7 @@ public:
{}
uint16_t *m_buffer_spriteram;
+ std::unique_ptr<uint16_t[]> m_allocated_spriteram;
void wildplt_map(address_map &map);
void wildplt(machine_config &config);
DECLARE_WRITE16_MEMBER(sprite_dma_w);
diff --git a/src/mame/includes/irobot.h b/src/mame/includes/irobot.h
index 8b1780254ad..37e68472445 100644
--- a/src/mame/includes/irobot.h
+++ b/src/mame/includes/irobot.h
@@ -102,7 +102,7 @@ private:
uint8_t m_outx;
uint8_t m_mpage;
uint8_t *m_combase_mb;
- irmb_ops *m_mbops;
+ std::unique_ptr<irmb_ops[]> m_mbops;
const irmb_ops *m_irmb_stack[16];
uint32_t m_irmb_regs[16];
uint32_t m_irmb_latch;