From 5bac72282a340ca30e19efe2cdf6e48699d7ebfd Mon Sep 17 00:00:00 2001 From: bunnei Date: Thu, 11 Dec 2014 23:34:55 -0500 Subject: Common: Add "sysdata" to GetUserPath and cleanup. --- src/common/common_paths.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'src/common/common_paths.h') diff --git a/src/common/common_paths.h b/src/common/common_paths.h index ae08d082a..95479a529 100644 --- a/src/common/common_paths.h +++ b/src/common/common_paths.h @@ -29,19 +29,6 @@ #endif #endif -// Shared data dirs (Sys and shared User for linux) -#ifdef _WIN32 - #define SYSDATA_DIR "sys" -#else - #ifdef DATA_DIR - #define SYSDATA_DIR DATA_DIR "sys" - #define SHARED_USER_DIR DATA_DIR USERDATA_DIR DIR_SEP - #else - #define SYSDATA_DIR "sys" - #define SHARED_USER_DIR ROOT_DIR DIR_SEP USERDATA_DIR DIR_SEP - #endif -#endif - // Dirs in both User and Sys #define EUR_DIR "EUR" #define USA_DIR "USA" @@ -53,6 +40,7 @@ #define MAPS_DIR "maps" #define CACHE_DIR "cache" #define SDMC_DIR "sdmc" +#define SYSDATA_DIR "sysdata" #define SHADERCACHE_DIR "shader_cache" #define STATESAVES_DIR "state_saves" #define SCREENSHOTS_DIR "screenShots" -- cgit v1.2.3 From 6fe61d3debff9da8df7c2422edf426045b87d23b Mon Sep 17 00:00:00 2001 From: bunnei Date: Wed, 26 Nov 2014 15:00:51 -0500 Subject: APT_U: Added GetSharedFont service function. --- src/common/common_paths.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/common/common_paths.h') diff --git a/src/common/common_paths.h b/src/common/common_paths.h index 95479a529..42e1a29c1 100644 --- a/src/common/common_paths.h +++ b/src/common/common_paths.h @@ -58,6 +58,9 @@ #define DEBUGGER_CONFIG "debugger.ini" #define LOGGER_CONFIG "logger.ini" +// Sys files +#define SHARED_FONT "shared_font.bin" + // Files in the directory returned by GetUserPath(D_LOGS_IDX) #define MAIN_LOG "emu.log" -- cgit v1.2.3 From ea9ce0fba776eef8f9e4f3a86e71256091732a14 Mon Sep 17 00:00:00 2001 From: Subv Date: Tue, 16 Dec 2014 00:33:41 -0500 Subject: Filesystem/Archives: Implemented the SaveData archive The savedata for each game is stored in /savedata/ for NCCH files. ELF files and 3DSX files use the folder 0 because they have no ID information Got rid of the code duplication in File and Directory Files that deal with the host machine's file system now live in DiskFile, similarly for directories and DiskDirectory and archives with DiskArchive. FS_U: Use the correct error code when a file wasn't found --- src/common/common_paths.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/common_paths.h') diff --git a/src/common/common_paths.h b/src/common/common_paths.h index 42e1a29c1..a86889756 100644 --- a/src/common/common_paths.h +++ b/src/common/common_paths.h @@ -40,6 +40,7 @@ #define MAPS_DIR "maps" #define CACHE_DIR "cache" #define SDMC_DIR "sdmc" +#define SAVEDATA_DIR "savedata" #define SYSDATA_DIR "sysdata" #define SHADERCACHE_DIR "shader_cache" #define STATESAVES_DIR "state_saves" -- cgit v1.2.3 From bec527fa246a427e1e9628a251bd410087fd7113 Mon Sep 17 00:00:00 2001 From: Subv Date: Wed, 17 Dec 2014 23:44:32 -0500 Subject: SaveData: Implemented the SystemSaveData archive. It will be stored in the /syssavedata folder. This archive is user by various Services and possibly games via the FS:U service. --- src/common/common_paths.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common/common_paths.h') diff --git a/src/common/common_paths.h b/src/common/common_paths.h index a86889756..966402a3d 100644 --- a/src/common/common_paths.h +++ b/src/common/common_paths.h @@ -42,6 +42,7 @@ #define SDMC_DIR "sdmc" #define SAVEDATA_DIR "savedata" #define SYSDATA_DIR "sysdata" +#define SYSSAVEDATA_DIR "syssavedata" #define SHADERCACHE_DIR "shader_cache" #define STATESAVES_DIR "state_saves" #define SCREENSHOTS_DIR "screenShots" -- cgit v1.2.3 From ebfd831ccba32bce097491db3d6bdff0be05935e Mon Sep 17 00:00:00 2001 From: purpasmart96 Date: Tue, 16 Dec 2014 21:38:14 -0800 Subject: License change --- src/common/common_paths.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common/common_paths.h') diff --git a/src/common/common_paths.h b/src/common/common_paths.h index 966402a3d..9d62a8368 100644 --- a/src/common/common_paths.h +++ b/src/common/common_paths.h @@ -1,5 +1,5 @@ -// Copyright 2013 Dolphin Emulator Project -// Licensed under GPLv2 +// Copyright 2013 Dolphin Emulator Project / 2014 Citra Emulator Project +// Licensed under GPLv2 or any later version // Refer to the license.txt file included. #pragma once -- cgit v1.2.3