summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/coleco
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-03-06 18:02:37 +1100
committer Vas Crabb <vas@vastheman.com>2016-03-06 21:49:56 +1100
commit73b44c94291c4d086477167a76fd7db239936c3b (patch)
tree9af214e443878f4b1e6452d63393ca9f9f8a0884 /src/devices/bus/coleco
parent00941faaab99d937a32bce4d225ec56951d21020 (diff)
Turn core_file into a proper class that gets cleaned up safely using unique_ptr
Subverted somewhat by chd_file class
Diffstat (limited to 'src/devices/bus/coleco')
-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");
}