summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/apf/slot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/apf/slot.cpp')
-rw-r--r--src/devices/bus/apf/slot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/apf/slot.cpp b/src/devices/bus/apf/slot.cpp
index eb2e17d9f80..af872826ce3 100644
--- a/src/devices/bus/apf/slot.cpp
+++ b/src/devices/bus/apf/slot.cpp
@@ -226,7 +226,7 @@ std::string apf_cart_slot_device::get_default_card_software()
if (open_image_file(mconfig().options()))
{
const char *slot_string;
- UINT32 size = core_fsize(m_file);
+ UINT32 size = m_file->size();
int type = APF_STD;
// attempt to identify Space Destroyer, which needs 1K of additional RAM