mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 14:19:02 +00:00
Don't expose SYSDATA_DIR in a header
This commit is contained in:
parent
b187d4cd08
commit
d1c1793a34
2 changed files with 14 additions and 15 deletions
|
@ -692,6 +692,20 @@ std::string GetSysDirectory()
|
|||
{
|
||||
std::string sysDir;
|
||||
|
||||
#if defined(_WIN32) || defined(LINUX_LOCAL_DEV)
|
||||
#define SYSDATA_DIR "Sys"
|
||||
#elif defined __APPLE__
|
||||
#define SYSDATA_DIR "Contents/Resources/Sys"
|
||||
#elif defined ANDROID
|
||||
#define SYSDATA_DIR "/sdcard/dolphin-emu"
|
||||
#else
|
||||
#ifdef DATA_DIR
|
||||
#define SYSDATA_DIR DATA_DIR "sys"
|
||||
#else
|
||||
#define SYSDATA_DIR "sys"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__)
|
||||
sysDir = GetBundleDirectory() + DIR_SEP + SYSDATA_DIR;
|
||||
#elif defined(_WIN32) || defined(LINUX_LOCAL_DEV)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue