mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-23 03:02:04 +00:00
Cleanup file_archive_get_file_backend
This commit is contained in:
parent
9868b4acdb
commit
efb98a8a01
@ -780,6 +780,7 @@ const struct file_archive_file_backend *file_archive_get_7z_file_backend(void)
|
||||
|
||||
const struct file_archive_file_backend* file_archive_get_file_backend(const char *path)
|
||||
{
|
||||
#if defined(HAVE_7ZIP) || defined(HAVE_ZLIB)
|
||||
char newpath[PATH_MAX_LENGTH];
|
||||
const char *file_ext = NULL;
|
||||
char *last = NULL;
|
||||
@ -805,6 +806,7 @@ const struct file_archive_file_backend* file_archive_get_file_backend(const char
|
||||
|| string_is_equal_noncase(file_ext, "apk")
|
||||
)
|
||||
return &zlib_backend;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
return NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user