diff options
Diffstat (limited to 'src/emu/bus/apf/slot.h')
-rw-r--r-- | src/emu/bus/apf/slot.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/emu/bus/apf/slot.h b/src/emu/bus/apf/slot.h index d0c5903bc21..e40894b2cbe 100644 --- a/src/emu/bus/apf/slot.h +++ b/src/emu/bus/apf/slot.h @@ -39,7 +39,7 @@ public: UINT32 get_rom_size() { return m_rom_size; } UINT32 get_ram_size() { return m_ram.count(); } - void save_ram() { device().save_item(NAME(m_ram)); } + void save_ram() { device().save_item(NAME(m_ram)); } protected: // internal state @@ -71,7 +71,7 @@ public: int get_type() { return m_type; } - void save_ram() { if (m_cart && m_cart->get_ram_size()) m_cart->save_ram(); } + void save_ram() { if (m_cart && m_cart->get_ram_size()) m_cart->save_ram(); } virtual iodevice_t image_type() const { return IO_CARTSLOT; } virtual bool is_readable() const { return 1; } @@ -112,6 +112,5 @@ extern const device_type APF_CART_SLOT; #define MCFG_APF_CARTRIDGE_ADD(_tag,_slot_intf,_def_slot) \ MCFG_DEVICE_ADD(_tag, APF_CART_SLOT, 0) \ - MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false) \ - + MCFG_DEVICE_SLOT_INTERFACE(_slot_intf, _def_slot, false) #endif |