mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-13 16:01:05 +00:00
task_push_decompress - use path_is_valid instead of filestream_exists
This commit is contained in:
parent
7fb5d9da62
commit
49156e645e
@ -18,7 +18,6 @@
|
||||
#include <string/stdstring.h>
|
||||
#include <file/file_path.h>
|
||||
#include <file/archive_file.h>
|
||||
#include <streams/file_stream.h>
|
||||
#include <retro_miscellaneous.h>
|
||||
#include <compat/strl.h>
|
||||
|
||||
@ -291,7 +290,7 @@ bool task_push_decompress(
|
||||
|
||||
/* ZIP or APK only */
|
||||
if (
|
||||
!filestream_exists(source_file) ||
|
||||
!path_is_valid(source_file) ||
|
||||
(
|
||||
!string_is_equal_noncase(ext, "zip")
|
||||
&& !string_is_equal_noncase(ext, "apk")
|
||||
|
Loading…
x
Reference in New Issue
Block a user