summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/bus/c64/neoram.h
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.h
parent7afab9bda2b90efc60412ec7ef3215466b53fb21 (diff)
(MESS) Used shared_ptr instead of UINT8* in the Commodore cartridges. (nw)
Diffstat (limited to 'src/emu/bus/c64/neoram.h')
-rw-r--r--src/emu/bus/c64/neoram.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/bus/c64/neoram.h b/src/emu/bus/c64/neoram.h
index ea42810f5c6..aa173423ce5 100644
--- a/src/emu/bus/c64/neoram.h
+++ b/src/emu/bus/c64/neoram.h
@@ -41,8 +41,8 @@ protected:
// device_nvram_interface overrides
virtual void nvram_default() { }
- virtual void nvram_read(emu_file &file) { if (m_nvram != NULL) { file.read(m_nvram, m_nvram_size); } }
- virtual void nvram_write(emu_file &file) { if (m_nvram != NULL) { file.write(m_nvram, m_nvram_size); } }
+ virtual void nvram_read(emu_file &file) { if (m_nvram != NULL) { file.read(m_nvram, m_nvram.bytes()); } }
+ virtual void nvram_write(emu_file &file) { if (m_nvram != NULL) { file.write(m_nvram, m_nvram.bytes()); } }
// device_c64_expansion_card_interface overrides
virtual UINT8 c64_cd_r(address_space &space, offs_t offset, UINT8 data, int sphi2, int ba, int roml, int romh, int io1, int io2);