summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/dislot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/dislot.cpp')
-rw-r--r--src/emu/dislot.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/emu/dislot.cpp b/src/emu/dislot.cpp
index 6f7bb4b592f..868b0ebf103 100644
--- a/src/emu/dislot.cpp
+++ b/src/emu/dislot.cpp
@@ -8,9 +8,9 @@
#include "emu.h"
#include "emuopts.h"
+
+#include "corestr.h"
#include "zippath.h"
-#include <algorithm>
-#include <cctype>
device_slot_interface::device_slot_interface(const machine_config &mconfig, device_t &device) :
@@ -170,6 +170,5 @@ bool get_default_card_software_hook::hashfile_extrainfo(std::string &extrainfo)
bool get_default_card_software_hook::is_filetype(std::string_view candidate_filetype) const
{
- return std::equal(m_file_type.begin(), m_file_type.end(), candidate_filetype.begin(), candidate_filetype.end(),
- [] (unsigned char c1, unsigned char c2) { return std::tolower(c1) == c2; });
+ return util::streqlower(m_file_type, candidate_filetype);
}