diff options
author | 2015-12-25 20:53:59 +0100 | |
---|---|---|
committer | 2015-12-25 20:53:59 +0100 | |
commit | c6d27c753f68cb22d8f88d031ae0645ab80c72b6 (patch) | |
tree | 814fb384b0024aa03da79a806d7674624abace47 /src/devices/bus/sega8 | |
parent | a8ef53fa51dcc81dbb9a647dfc1777ef72ee2f93 (diff) |
cleanups (nw)
Diffstat (limited to 'src/devices/bus/sega8')
-rw-r--r-- | src/devices/bus/sega8/sega8_slot.cpp | 4 | ||||
-rw-r--r-- | src/devices/bus/sega8/sega8_slot.h | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/devices/bus/sega8/sega8_slot.cpp b/src/devices/bus/sega8/sega8_slot.cpp index c88be013d3f..a3fee762e91 100644 --- a/src/devices/bus/sega8/sega8_slot.cpp +++ b/src/devices/bus/sega8/sega8_slot.cpp @@ -607,7 +607,7 @@ void sega8_cart_slot_device::get_default_card_software(std::string &result) { if (open_image_file(mconfig().options())) { - const char *slot_string = "rom"; + const char *slot_string; UINT32 len = core_fsize(m_file), offset = 0; dynamic_buffer rom(len); int type; @@ -725,7 +725,7 @@ void sega8_cart_slot_device::internal_header_logging(UINT8 *ROM, UINT32 len, UIN char reserved[10]; UINT8 version, csum_size, region, serial[3]; UINT16 checksum, csum = 0; - UINT32 csum_end = 0; + UINT32 csum_end; // LOG FILE DETAILS logerror("FILE DETAILS\n" ); diff --git a/src/devices/bus/sega8/sega8_slot.h b/src/devices/bus/sega8/sega8_slot.h index 64f332e5e81..cf56effa4f0 100644 --- a/src/devices/bus/sega8/sega8_slot.h +++ b/src/devices/bus/sega8/sega8_slot.h @@ -71,9 +71,6 @@ public: UINT32 get_rom_size() { return m_rom_size; } UINT32 get_ram_size() { return m_ram.size(); } - void rom_map_setup(UINT32 size); - void ram_map_setup(UINT8 banks); - void save_ram() { device().save_item(NAME(m_ram)); } //private: |