1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-05 09:48:42 +00:00

Merge paths.c - this is one of the last file we merge - not long after this

we can start splitting up retroarch.c into several files
This commit is contained in:
twinaphex 2019-11-17 21:00:15 +01:00
parent c252cbe9e0
commit 8c799f978b
5 changed files with 1033 additions and 1098 deletions

View File

@ -155,7 +155,6 @@ endif
OBJ += frontend/frontend_driver.o \
frontend/drivers/platform_null.o \
retroarch.o \
paths.o \
msg_hash.o \
intl/msg_hash_us.o \
$(LIBRETRO_COMM_DIR)/queues/task_queue.o \

View File

@ -1088,7 +1088,6 @@ GIT
RETROARCH
============================================================ */
#include "../retroarch.c"
#include "../paths.c"
#include "../libretro-common/queues/task_queue.c"
#include "../msg_hash.c"

1081
paths.c

File diff suppressed because it is too large Load Diff

15
paths.h
View File

@ -57,19 +57,10 @@ enum rarch_path_type
RARCH_PATH_SUBSYSTEM
};
bool dir_init_shader(void);
bool dir_free_shader(void);
void dir_check_shader(bool pressed_next, bool pressed_prev);
bool dir_is_empty(enum rarch_dir_type type);
void dir_clear(enum rarch_dir_type type);
void dir_clear_all(void);
size_t dir_get_size(enum rarch_dir_type type);
char *dir_get_ptr(enum rarch_dir_type type);
@ -86,12 +77,8 @@ void path_deinit_savefile(void);
void path_init_savefile(void);
void path_fill_names(void);
bool path_set(enum rarch_path_type type, const char *path);
void path_set_redirect(void);
void path_set_special(char **argv, unsigned num_content);
size_t path_get_realsize(enum rarch_path_type type);
@ -104,8 +91,6 @@ const char *path_get(enum rarch_path_type type);
void path_clear(enum rarch_path_type type);
void path_clear_all(void);
bool path_is_empty(enum rarch_path_type type);
enum rarch_content_type path_is_media_type(const char *path);

File diff suppressed because it is too large Load Diff