From 8c7486fa5d9eb873577770a92bc524770ed402ba Mon Sep 17 00:00:00 2001 From: Curt Coder Date: Fri, 20 Dec 2013 16:04:11 +0000 Subject: (MESS) Used shared_ptr instead of UINT8* in the Commodore cartridges. (nw) --- src/emu/bus/c64/neoram.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emu/bus/c64/neoram.h') 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); -- cgit v1.2.3-70-g09d2