Add dirs.c

This commit is contained in:
twinaphex 2016-09-17 14:44:19 +02:00
parent 6bd6245f0a
commit 1a554cf1bc
4 changed files with 56 additions and 0 deletions

View File

@ -132,6 +132,7 @@ OBJ += frontend/frontend.o \
ui/drivers/null/ui_null_application.o \
core_impl.o \
retroarch.o \
dirs.o \
paths.o \
input/input_keyboard.o \
command.o \

28
dirs.c Normal file
View File

@ -0,0 +1,28 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2011-2016 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <retro_miscellaneous.h>
#include <compat/strl.h>
#include <file/file_path.h>
#include <lists/string_list.h>
#include <string/stdstring.h>
#include <retro_assert.h>
#include <retro_stat.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "dirs.h"

26
dirs.h Normal file
View File

@ -0,0 +1,26 @@
/* RetroArch - A frontend for libretro.
* Copyright (C) 2011-2016 - Daniel De Matteis
*
* RetroArch is free software: you can redistribute it and/or modify it under the terms
* of the GNU General Public License as published by the Free Software Found-
* ation, either version 3 of the License, or (at your option) any later version.
*
* RetroArch is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
* PURPOSE. See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __DIRS_H
#define __DIRS_H
#include <boolean.h>
#include <retro_common_api.h>
RETRO_BEGIN_DECLS
RETRO_END_DECLS
#endif

View File

@ -797,6 +797,7 @@ RETROARCH
============================================================ */
#include "../core_impl.c"
#include "../retroarch.c"
#include "../dirs.c"
#include "../paths.c"
#include "../runloop.c"
#include "../libretro-common/queues/task_queue.c"