diff options
author | 0kmg <9137159+0kmg@users.noreply.github.com> | 2022-02-06 13:59:38 -0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-06 23:59:38 +0100 |
commit | ae373baa246e69a52e6e8249e6e8c7897ba1e1fe (patch) | |
tree | e948c0f9f690b3d4fd2886910552ee045389ccd6 /src/devices/bus/megadrive/md_slot.h | |
parent | 22e7beb2fc705139625e3c036c256c6f19cd1c2c (diff) |
devices/*: Removed extra semicolons after function bodies in headers. (#9275)
Diffstat (limited to 'src/devices/bus/megadrive/md_slot.h')
-rw-r--r-- | src/devices/bus/megadrive/md_slot.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/bus/megadrive/md_slot.h b/src/devices/bus/megadrive/md_slot.h index 4ffb7407eee..ca16a38ba92 100644 --- a/src/devices/bus/megadrive/md_slot.h +++ b/src/devices/bus/megadrive/md_slot.h @@ -109,15 +109,15 @@ public: virtual int read_test() { return 0; } // used by Virtua Racing test // this probably should do more, like make Genesis V2 'die' if the SEGA string is not written promptly - virtual void write_tmss_bank(offs_t offset, uint16_t data) { device().logerror("Write to TMSS bank: offset %x data %x\n", 0xa14000 + (offset << 1), data); }; + virtual void write_tmss_bank(offs_t offset, uint16_t data) { device().logerror("Write to TMSS bank: offset %x data %x\n", 0xa14000 + (offset << 1), data); } virtual void rom_alloc(size_t size, const char *tag); virtual void nvram_alloc(size_t size); - virtual uint16_t* get_rom_base() { return m_rom; }; - virtual uint16_t* get_nvram_base() { return &m_nvram[0]; }; - virtual uint32_t get_rom_size() { return m_rom_size; }; - virtual uint32_t get_nvram_size() { return m_nvram.size()*sizeof(uint16_t); }; - virtual void set_bank_to_rom(const char *banktag, uint32_t offset) {}; + virtual uint16_t* get_rom_base() { return m_rom; } + virtual uint16_t* get_nvram_base() { return &m_nvram[0]; } + virtual uint32_t get_rom_size() { return m_rom_size; } + virtual uint32_t get_nvram_size() { return m_nvram.size()*sizeof(uint16_t); } + virtual void set_bank_to_rom(const char *banktag, uint32_t offset) {} void save_nvram() { device().save_item(NAME(m_nvram)); } @@ -184,7 +184,7 @@ public: virtual void write_a13(offs_t offset, uint16_t data); virtual uint16_t read_a15(offs_t offset); virtual void write_a15(offs_t offset, uint16_t data); - virtual void write_tmss_bank(offs_t offset, uint16_t data) { if (m_cart) m_cart->write_tmss_bank(offset, data); }; + virtual void write_tmss_bank(offs_t offset, uint16_t data) { if (m_cart) m_cart->write_tmss_bank(offset, data); } virtual int read_test() { if (m_cart) return m_cart->read_test(); else return 0; } // used by Virtua Racing test |