diff options
author | 2016-02-24 07:46:57 +0100 | |
---|---|---|
committer | 2016-02-24 07:46:57 +0100 | |
commit | 3abcaee63ff285514e8b51a60949c97a7dfa5304 (patch) | |
tree | 63e6be46c1932606689f9bfacc920d69cfc4b51f /src/devices/bus/m5/slot.cpp | |
parent | 0cbd8782119b140920097a2bee76f36aef014be9 (diff) |
Cleanups and version bump
Diffstat (limited to 'src/devices/bus/m5/slot.cpp')
-rw-r--r-- | src/devices/bus/m5/slot.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/devices/bus/m5/slot.cpp b/src/devices/bus/m5/slot.cpp index 162d802136e..92bda7e5fbd 100644 --- a/src/devices/bus/m5/slot.cpp +++ b/src/devices/bus/m5/slot.cpp @@ -175,7 +175,6 @@ bool m5_cart_slot_device::call_load() if (m_type == M5_STD || m_type>2) //carts with roms { - UINT32 size = (software_entry() == NULL) ? length() : get_software_region_length("rom"); if (size > 0x5000 && m_type == M5_STD) @@ -190,12 +189,12 @@ bool m5_cart_slot_device::call_load() fread(m_cart->get_rom_base(), size); else memcpy(m_cart->get_rom_base(), get_software_region("rom"), size); - + } if (!M5_STD) if (get_software_region("ram")) m_cart->ram_alloc(get_software_region_length("ram")); - + //printf("Type: %s\n", m5_get_slot(m_type)); } |