2014-12-17 08:38:14 +03:00
|
|
|
// Copyright 2013 Dolphin Emulator Project / 2014 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
2013-09-05 04:17:46 +04:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
2014-08-17 21:45:50 +04:00
|
|
|
#pragma once
|
2013-09-05 04:17:46 +04:00
|
|
|
|
2014-09-13 04:06:13 +04:00
|
|
|
// Directory separators, do we need this?
|
2013-09-05 04:17:46 +04:00
|
|
|
#define DIR_SEP "/"
|
|
|
|
#define DIR_SEP_CHR '/'
|
|
|
|
|
2013-09-09 04:42:03 +04:00
|
|
|
#ifndef MAX_PATH
|
2014-09-13 04:06:13 +04:00
|
|
|
#define MAX_PATH 260
|
2013-09-09 04:42:03 +04:00
|
|
|
#endif
|
2013-09-08 21:17:27 +04:00
|
|
|
|
2013-09-05 04:17:46 +04:00
|
|
|
// The user data dir
|
|
|
|
#define ROOT_DIR "."
|
2015-03-16 04:22:59 +03:00
|
|
|
#define USERDATA_DIR "user"
|
|
|
|
#ifdef USER_DIR
|
2016-09-18 03:38:01 +03:00
|
|
|
#define EMU_DATA_DIR USER_DIR
|
2013-09-05 04:17:46 +04:00
|
|
|
#else
|
2018-01-12 07:56:15 +03:00
|
|
|
#define EMU_DATA_DIR "yuzu"
|
2013-09-05 04:17:46 +04:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// Dirs in both User and Sys
|
|
|
|
#define EUR_DIR "EUR"
|
|
|
|
#define USA_DIR "USA"
|
|
|
|
#define JAP_DIR "JAP"
|
|
|
|
|
|
|
|
// Subdirs in the User dir returned by GetUserPath(D_USER_IDX)
|
2016-09-18 03:38:01 +03:00
|
|
|
#define CONFIG_DIR "config"
|
|
|
|
#define CACHE_DIR "cache"
|
|
|
|
#define SDMC_DIR "sdmc"
|
|
|
|
#define NAND_DIR "nand"
|
|
|
|
#define SYSDATA_DIR "sysdata"
|
2018-07-02 20:10:41 +03:00
|
|
|
#define LOG_DIR "log"
|
2013-09-05 04:17:46 +04:00
|
|
|
|
|
|
|
// Filenames
|
|
|
|
// Files in the directory returned by GetUserPath(D_CONFIG_IDX)
|
2016-09-18 03:38:01 +03:00
|
|
|
#define EMU_CONFIG "emu.ini"
|
|
|
|
#define DEBUGGER_CONFIG "debugger.ini"
|
|
|
|
#define LOGGER_CONFIG "logger.ini"
|
2018-07-02 20:10:41 +03:00
|
|
|
// Files in the directory returned by GetUserPath(D_LOGS_IDX)
|
|
|
|
#define LOG_FILE "citra_log.txt"
|
2013-09-05 04:17:46 +04:00
|
|
|
|
2014-11-26 23:00:51 +03:00
|
|
|
// Sys files
|
2016-09-18 03:38:01 +03:00
|
|
|
#define SHARED_FONT "shared_font.bin"
|
2017-01-01 15:58:02 +03:00
|
|
|
#define AES_KEYS "aes_keys.txt"
|