summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/bus/chanf/slot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/bus/chanf/slot.h')
-rw-r--r--src/emu/bus/chanf/slot.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/bus/chanf/slot.h b/src/emu/bus/chanf/slot.h
index 161eef039f8..123e3a4fafd 100644
--- a/src/emu/bus/chanf/slot.h
+++ b/src/emu/bus/chanf/slot.h
@@ -38,9 +38,9 @@ public:
void rom_alloc(UINT32 size, const char *tag);
void ram_alloc(UINT32 size);
UINT8* get_rom_base() { return m_rom; }
- UINT8* get_ram_base() { return m_ram; }
+ UINT8* get_ram_base() { return &m_ram[0]; }
UINT32 get_rom_size() { return m_rom_size; }
- UINT32 get_ram_size() { return m_ram.count(); }
+ UINT32 get_ram_size() { return m_ram.size(); }
void save_ram() { device().save_item(NAME(m_ram)); }