2014-12-17 05:38:14 +00:00
|
|
|
// Copyright 2013 Dolphin Emulator Project / 2014 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
2013-09-05 01:17:46 +01:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2014-08-17 18:45:50 +01:00
|
|
|
#pragma once
|
2013-09-05 01:17:46 +01:00
|
|
|
|
2014-09-13 01:06:13 +01:00
|
|
|
// Directory separators, do we need this?
|
2013-09-05 01:17:46 +01:00
|
|
|
#define DIR_SEP "/"
|
|
|
|
#define DIR_SEP_CHR '/'
|
|
|
|
|
2013-09-09 01:42:03 +01:00
|
|
|
#ifndef MAX_PATH
|
2014-09-13 01:06:13 +01:00
|
|
|
#define MAX_PATH 260
|
2013-09-09 01:42:03 +01:00
|
|
|
#endif
|
2013-09-08 18:17:27 +01:00
|
|
|
|
2013-09-05 01:17:46 +01:00
|
|
|
// The user data dir
|
|
|
|
#define ROOT_DIR "."
|
2015-03-16 01:22:59 +00:00
|
|
|
#define USERDATA_DIR "user"
|
|
|
|
#ifdef USER_DIR
|
2016-09-18 01:38:01 +01:00
|
|
|
#define EMU_DATA_DIR USER_DIR
|
2013-09-05 01:17:46 +01:00
|
|
|
#else
|
2016-09-18 01:38:01 +01:00
|
|
|
#ifdef _WIN32
|
2016-11-26 21:57:36 +00:00
|
|
|
#define EMU_DATA_DIR "Citra"
|
2019-07-05 23:54:50 +01:00
|
|
|
#elif ANDROID
|
|
|
|
// On Android internal storage is mounted as "/sdcard"
|
|
|
|
#define SDCARD_DIR "sdcard"
|
|
|
|
#define EMU_DATA_DIR "citra-emu"
|
2016-09-18 01:38:01 +01:00
|
|
|
#else
|
|
|
|
#define EMU_DATA_DIR "citra-emu"
|
|
|
|
#endif
|
2013-09-05 01:17:46 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// Dirs in both User and Sys
|
|
|
|
#define EUR_DIR "EUR"
|
|
|
|
#define USA_DIR "USA"
|
|
|
|
#define JAP_DIR "JAP"
|
|
|
|
|
2018-07-21 20:52:42 +01:00
|
|
|
// Subdirs in the User dir returned by GetUserPath(UserPath::UserDir)
|
2016-09-18 01:38:01 +01:00
|
|
|
#define CONFIG_DIR "config"
|
|
|
|
#define CACHE_DIR "cache"
|
|
|
|
#define SDMC_DIR "sdmc"
|
|
|
|
#define NAND_DIR "nand"
|
|
|
|
#define SYSDATA_DIR "sysdata"
|
2018-02-20 00:51:27 +00:00
|
|
|
#define LOG_DIR "log"
|
2018-11-17 01:01:10 +00:00
|
|
|
#define CHEATS_DIR "cheats"
|
2018-12-15 20:33:33 +00:00
|
|
|
#define DLL_DIR "external_dlls"
|
2019-08-09 19:00:47 +01:00
|
|
|
#define SHADER_DIR "shaders"
|
2019-04-03 02:29:36 +01:00
|
|
|
#define DUMP_DIR "dump"
|
2019-08-06 13:43:24 +01:00
|
|
|
#define LOAD_DIR "load"
|
2019-08-18 00:43:40 +01:00
|
|
|
#define SHADER_DIR "shaders"
|
2020-02-18 05:19:52 +00:00
|
|
|
#define STATES_DIR "states"
|
2013-09-05 01:17:46 +01:00
|
|
|
|
|
|
|
// Filenames
|
2018-07-21 20:52:42 +01:00
|
|
|
// Files in the directory returned by GetUserPath(UserPath::LogDir)
|
2018-02-20 00:51:27 +00:00
|
|
|
#define LOG_FILE "citra_log.txt"
|
|
|
|
|
2018-07-21 20:52:42 +01:00
|
|
|
// Files in the directory returned by GetUserPath(UserPath::ConfigDir)
|
2016-09-18 01:38:01 +01:00
|
|
|
#define EMU_CONFIG "emu.ini"
|
|
|
|
#define DEBUGGER_CONFIG "debugger.ini"
|
|
|
|
#define LOGGER_CONFIG "logger.ini"
|
2013-09-05 01:17:46 +01:00
|
|
|
|
2014-11-26 20:00:51 +00:00
|
|
|
// Sys files
|
2016-09-18 01:38:01 +01:00
|
|
|
#define SHARED_FONT "shared_font.bin"
|
2017-01-01 12:58:02 +00:00
|
|
|
#define AES_KEYS "aes_keys.txt"
|
2018-10-17 09:13:55 +01:00
|
|
|
#define BOOTROM9 "boot9.bin"
|
2018-10-17 12:21:02 +01:00
|
|
|
#define SECRET_SECTOR "sector0x96.bin"
|