diff options
Diffstat (limited to 'src/devices/bus/a7800/a78_slot.cpp')
-rw-r--r-- | src/devices/bus/a7800/a78_slot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/a7800/a78_slot.cpp b/src/devices/bus/a7800/a78_slot.cpp index 0509753a1c3..53541560fa4 100644 --- a/src/devices/bus/a7800/a78_slot.cpp +++ b/src/devices/bus/a7800/a78_slot.cpp @@ -537,7 +537,7 @@ std::string a78_cart_slot_device::get_default_card_software() int type = A78_TYPE0, mapper; // Load and check the header - core_fread(m_file, &head[0], 128); + m_file->read(&head[0], 128); // let's try to auto-fix some common errors in the header mapper = validate_header((head[53] << 8) | head[54], FALSE); @@ -558,7 +558,7 @@ std::string a78_cart_slot_device::get_default_card_software() break; case 0x0022: case 0x0026: - if (core_fsize(m_file) > 0x40000) + if (m_file->size() > 0x40000) type = A78_MEGACART; else type = A78_VERSABOARD; |