diff options
Diffstat (limited to 'src/emu/bus/gameboy/gb_slot.h')
-rw-r--r-- | src/emu/bus/gameboy/gb_slot.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/bus/gameboy/gb_slot.h b/src/emu/bus/gameboy/gb_slot.h index b4c16bbce74..ea6036a1481 100644 --- a/src/emu/bus/gameboy/gb_slot.h +++ b/src/emu/bus/gameboy/gb_slot.h @@ -71,8 +71,8 @@ public: void set_has_battery(bool val) { has_battery = val; } bool get_has_battery() { return has_battery; } - void save_ram() { device().save_item(NAME(m_ram)); } - + void save_ram() { device().save_item(NAME(m_ram)); } + // internal state UINT8 *m_rom; UINT32 m_rom_size; @@ -122,8 +122,8 @@ public: void setup_ram(UINT8 banks); void internal_header_logging(UINT8 *ROM, UINT32 len); - 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; } virtual bool is_writeable() const { return 0; } |