mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
dir_list.c - Get rid of dependencies on miscellaneous.h
This commit is contained in:
parent
90002bfeda
commit
0a8226a08d
@ -17,7 +17,6 @@
|
|||||||
#include "dir_list.h"
|
#include "dir_list.h"
|
||||||
#include "file_path.h"
|
#include "file_path.h"
|
||||||
#include "compat/strl.h"
|
#include "compat/strl.h"
|
||||||
#include "miscellaneous.h"
|
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
@ -151,7 +150,6 @@ struct string_list *dir_list_new(const char *dir,
|
|||||||
return list;
|
return list;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
RARCH_ERR("Failed to open directory: \"%s\"\n", dir);
|
|
||||||
if (hFind != INVALID_HANDLE_VALUE)
|
if (hFind != INVALID_HANDLE_VALUE)
|
||||||
FindClose(hFind);
|
FindClose(hFind);
|
||||||
|
|
||||||
@ -251,7 +249,6 @@ struct string_list *dir_list_new(const char *dir,
|
|||||||
return list;
|
return list;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
RARCH_ERR("Failed to open directory: \"%s\"\n", dir);
|
|
||||||
|
|
||||||
if (directory)
|
if (directory)
|
||||||
closedir(directory);
|
closedir(directory);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user