diff options
author | 2015-12-19 11:06:06 +0100 | |
---|---|---|
committer | 2015-12-19 11:08:25 +0100 | |
commit | 42adde9fd5658c8bdf1f24f1970072b8a7db0a54 (patch) | |
tree | 250107b6cdbe992c1a3569ec4dcedf4f706f94c0 /src/devices/cpu/alto2/a2mem.h | |
parent | 4facaf6c24e53a17be232c5c3cab31ecca2d0335 (diff) |
auto_alloc_array_clear -> make_unique_clear (nw)
Diffstat (limited to 'src/devices/cpu/alto2/a2mem.h')
-rw-r--r-- | src/devices/cpu/alto2/a2mem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/alto2/a2mem.h b/src/devices/cpu/alto2/a2mem.h index c450693a22b..1f6b4ac0ef5 100644 --- a/src/devices/cpu/alto2/a2mem.h +++ b/src/devices/cpu/alto2/a2mem.h @@ -25,8 +25,8 @@ enum { struct { UINT32 size; //!< main memory size (64K or 128K) - UINT32* ram; //!< main memory organized as double-words - UINT8* hpb; //!< Hamming Code bits (6) and Parity bits (1) per double word + std::unique_ptr<UINT32[]> ram; //!< main memory organized as double-words + std::unique_ptr<UINT8[]> hpb; //!< Hamming Code bits (6) and Parity bits (1) per double word UINT32 mar; //!< memory address register UINT32 rmdd; //!< read memory data double-word UINT32 wmdd; //!< write memory data double-word |