diff --git a/libretro-common/file/file_path.c b/libretro-common/file/file_path.c index 7343ca9058..5c616b9007 100644 --- a/libretro-common/file/file_path.c +++ b/libretro-common/file/file_path.c @@ -37,7 +37,6 @@ #endif #include #include -#include #if defined(_WIN32) #ifdef _MSC_VER @@ -242,7 +241,7 @@ bool path_mkdir(const char *dir) return false; path_parent_dir(basedir); - if (!*basedir || string_is_equal(basedir, dir)) + if (!*basedir || !strcmp(basedir, dir)) goto end; if (path_is_directory(basedir)) @@ -353,9 +352,9 @@ bool path_is_compressed_file(const char* path) { const char *ext = path_get_extension(path); - if ( string_is_equal_noncase(ext, "zip") - || string_is_equal_noncase(ext, "apk") - || string_is_equal_noncase(ext, "7z")) + if ( strcasestr(ext, "zip") + || strcasestr(ext, "apk") + || strcasestr(ext, "7z")) return true; return false;