diff options
Diffstat (limited to 'src/devices/bus/pce/pce_slot.cpp')
-rw-r--r-- | src/devices/bus/pce/pce_slot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/pce/pce_slot.cpp b/src/devices/bus/pce/pce_slot.cpp index 4fffa5172fc..6a1e5859f1f 100644 --- a/src/devices/bus/pce/pce_slot.cpp +++ b/src/devices/bus/pce/pce_slot.cpp @@ -344,11 +344,11 @@ std::string pce_cart_slot_device::get_default_card_software() if (open_image_file(mconfig().options())) { const char *slot_string; - UINT32 len = core_fsize(m_file); + UINT32 len = m_file->size(); dynamic_buffer rom(len); int type; - core_fread(m_file, &rom[0], len); + m_file->read(&rom[0], len); type = get_cart_type(&rom[0], len); slot_string = pce_get_slot(type); |