summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vcs/vcs_slot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vcs/vcs_slot.cpp')
-rw-r--r--src/devices/bus/vcs/vcs_slot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/vcs/vcs_slot.cpp b/src/devices/bus/vcs/vcs_slot.cpp
index ce28ddcbbfb..17efc8d8069 100644
--- a/src/devices/bus/vcs/vcs_slot.cpp
+++ b/src/devices/bus/vcs/vcs_slot.cpp
@@ -189,7 +189,7 @@ image_init_result vcs_cart_slot_device::call_load()
uint8_t *ROM;
uint32_t len;
- if (software_entry() != nullptr)
+ if (loaded_through_softlist())
len = get_software_region_length("rom");
else
len = length();
@@ -219,7 +219,7 @@ image_init_result vcs_cart_slot_device::call_load()
m_cart->rom_alloc(len, tag());
ROM = m_cart->get_rom_base();
- if (software_entry() != nullptr)
+ if (loaded_through_softlist())
{
const char *pcb_name;
bool has_ram = get_software_region("ram") ? true : false;