summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/coleco/exp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/coleco/exp.cpp')
-rw-r--r--src/devices/bus/coleco/exp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/coleco/exp.cpp b/src/devices/bus/coleco/exp.cpp
index 05a53b584a5..53953f82859 100644
--- a/src/devices/bus/coleco/exp.cpp
+++ b/src/devices/bus/coleco/exp.cpp
@@ -116,7 +116,7 @@ std::string colecovision_cartridge_slot_device::get_default_card_software()
{
if (open_image_file(mconfig().options()))
{
- UINT32 length = core_fsize(m_file);
+ UINT32 length = m_file->size();
if (length == 0x100000 || length == 0x200000)
return software_get_default_slot("xin1");
}