summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/bus/c64/neoram.c
diff options
context:
space:
mode:
author Curt Coder <curtcoder@mail.com>2013-12-20 16:04:11 +0000
committer Curt Coder <curtcoder@mail.com>2013-12-20 16:04:11 +0000
commit8c7486fa5d9eb873577770a92bc524770ed402ba (patch)
tree7343677631c224588f7113cd61c40747293de5b8 /src/emu/bus/c64/neoram.c
parent7afab9bda2b90efc60412ec7ef3215466b53fb21 (diff)
(MESS) Used shared_ptr instead of UINT8* in the Commodore cartridges. (nw)
Diffstat (limited to 'src/emu/bus/c64/neoram.c')
-rw-r--r--src/emu/bus/c64/neoram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/bus/c64/neoram.c b/src/emu/bus/c64/neoram.c
index 33a0f16b0de..f1142774a51 100644
--- a/src/emu/bus/c64/neoram.c
+++ b/src/emu/bus/c64/neoram.c
@@ -44,7 +44,7 @@ c64_neoram_cartridge_device::c64_neoram_cartridge_device(const machine_config &m
void c64_neoram_cartridge_device::device_start()
{
// allocate memory
- c64_nvram_pointer(machine(), 0x200000);
+ m_nvram.allocate(0x200000);
// state saving
save_item(NAME(m_bank));