diff options
author | 2017-02-27 00:38:50 -0500 | |
---|---|---|
committer | 2017-02-27 00:38:50 -0500 | |
commit | 2a89da877b3f50a40336cace86285a9971b6da25 (patch) | |
tree | ebbb5ae20ebbfb8e00329d3e14ad1cbcfaf25bcd /src/devices/bus/kc/kc.cpp | |
parent | 73d399e9e5b22121c9f51eaf6b10b36aeb44491b (diff) |
device_image_interface cleanups (nw)
- Replace comparisons of software_entry() or part_entry() with nullptr with loaded_through_softlist() predicate.
- Eliminate the superfluous m_software_info_ptr member. The software_entry() accessor is still provided, but now rarely used.
- Eliminate two of the three arguments to load_software_part.
- Remove some unnecessary auto-typing in ui/inifile.cpp.
Diffstat (limited to 'src/devices/bus/kc/kc.cpp')
-rw-r--r-- | src/devices/bus/kc/kc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/kc/kc.cpp b/src/devices/bus/kc/kc.cpp index ea0f9d36e36..5ac9a424bd0 100644 --- a/src/devices/bus/kc/kc.cpp +++ b/src/devices/bus/kc/kc.cpp @@ -337,7 +337,7 @@ image_init_result kccart_slot_device::call_load() if (cart_base != nullptr) { - if (software_entry() == nullptr) + if (!loaded_through_softlist()) { read_length = length(); fread(m_cart->get_cart_base(), read_length); |