Skip to content

Commit 3d69f8e

Browse files
committed
Update
1 parent 7fa66ac commit 3d69f8e

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

vfs/vfs_implementation_uwp.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ using namespace Windows::Storage::FileProperties;
5151
#include <retro_miscellaneous.h>
5252
#include <file/file_path.h>
5353
#include <retro_assert.h>
54-
#include <verbosity.h>
5554
#include <string/stdstring.h>
5655
#include <retro_environment.h>
5756
#include <uwp/uwp_func.h>
@@ -301,15 +300,13 @@ libretro_vfs_implementation_file *retro_vfs_file_open_impl(const char *path, uns
301300

302301
if (!path_is_absolute(path))
303302
{
304-
RARCH_WARN("Something tried to access files from current directory ('%s'). This is not allowed on UWP.\n", path);
303+
/* Something tried to access files from current directory. This is not allowed on UWP. */
305304
return NULL;
306305
}
307306

307+
/* Trying to open a directory as file?! */
308308
if (path_char_is_slash(path[strlen(path) - 1]))
309-
{
310-
RARCH_WARN("Trying to open a directory as file?! ('%s')\n", path);
311309
return NULL;
312-
}
313310

314311
char* dirpath = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
315312
fill_pathname_basedir(dirpath, path, PATH_MAX_LENGTH);

0 commit comments

Comments
 (0)