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