mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
61 lines
2.1 KiB
C
61 lines
2.1 KiB
C
/* 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 "file_path_special.h"
|
|
|
|
const char *file_path_str(enum file_path_enum enum_idx)
|
|
{
|
|
switch (enum_idx)
|
|
{
|
|
case FILE_PATH_INDEX_URL:
|
|
return ".index";
|
|
case FILE_PATH_INDEX_DIRS_URL:
|
|
return ".index-dirs";
|
|
case FILE_PATH_INDEX_EXTENDED_URL:
|
|
return ".index-extended";
|
|
case FILE_PATH_CORE_THUMBNAILS_URL:
|
|
return "http://thumbnailpacks.libretro.com";
|
|
case FILE_PATH_LAKKA_URL:
|
|
return "http://mirror.lakka.tv/nightly";
|
|
case FILE_PATH_SHADERS_GLSL_ZIP:
|
|
return "shaders_glsl.zip";
|
|
case FILE_PATH_SHADERS_CG_ZIP:
|
|
return "shaders_cg.zip";
|
|
case FILE_PATH_DATABASE_RDB_ZIP:
|
|
return "database-rdb.zip";
|
|
case FILE_PATH_OVERLAYS_ZIP:
|
|
return "overlays.zip";
|
|
case FILE_PATH_CORE_INFO_ZIP:
|
|
return "info.zip";
|
|
case FILE_PATH_CHEATS_ZIP:
|
|
return "cheats.zip";
|
|
case FILE_PATH_ASSETS_ZIP:
|
|
return "assets.zip";
|
|
case FILE_PATH_AUTOCONFIG_ZIP:
|
|
return "autoconfig.zip";
|
|
case FILE_PATH_CONTENT_HISTORY:
|
|
return "content_history.lpl";
|
|
case FILE_PATH_CORE_OPTIONS_CONFIG:
|
|
return "retroarch-core-options.cfg";
|
|
case FILE_PATH_MAIN_CONFIG:
|
|
return "retroarch.cfg";
|
|
case FILE_PATH_UNKNOWN:
|
|
default:
|
|
break;
|
|
}
|
|
|
|
return "null";
|
|
}
|