diff options
author | etabeta78 <doge.fabio@gmail.com> | 2016-05-04 06:33:56 +0200 |
---|---|---|
committer | etabeta78 <doge.fabio@gmail.com> | 2016-05-04 06:33:56 +0200 |
commit | 14473449e918b0f260eb2b01a83491c2bbdc2894 (patch) | |
tree | 1bb38ba7de453ebdaa2f87b41a1562ba7d306e85 /src/devices/bus/gba/gba_slot.h | |
parent | ce1715534a96b82cd5f6ce8ce4e8660a71fba7f3 (diff) |
a first dive in my huge backlog. nw.
Diffstat (limited to 'src/devices/bus/gba/gba_slot.h')
-rw-r--r-- | src/devices/bus/gba/gba_slot.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/bus/gba/gba_slot.h b/src/devices/bus/gba/gba_slot.h index 9d9a6a48be7..11810ecd960 100644 --- a/src/devices/bus/gba/gba_slot.h +++ b/src/devices/bus/gba/gba_slot.h @@ -79,6 +79,7 @@ public: void internal_header_logging(UINT8 *ROM, UINT32 len); void save_nvram() { if (m_cart && m_cart->get_nvram_size()) m_cart->save_nvram(); } + UINT32 get_rom_size() { if (m_cart) return m_cart->get_rom_size(); return 0; } virtual iodevice_t image_type() const override { return IO_CARTSLOT; } virtual bool is_readable() const override { return 1; } |