hide game cover in android gallery
This commit is contained in:
parent
735277ec7d
commit
2fac523e10
|
@ -22,6 +22,7 @@
|
||||||
#elif defined ANDROID
|
#elif defined ANDROID
|
||||||
#define USERDATA_DIR "user"
|
#define USERDATA_DIR "user"
|
||||||
#define DOLPHIN_DATA_DIR "/sdcard/dolphin-emu"
|
#define DOLPHIN_DATA_DIR "/sdcard/dolphin-emu"
|
||||||
|
#define NOMEDIA_FILE ".nomedia"
|
||||||
#else
|
#else
|
||||||
#define USERDATA_DIR "user"
|
#define USERDATA_DIR "user"
|
||||||
#define DOLPHIN_DATA_DIR "dolphin-emu"
|
#define DOLPHIN_DATA_DIR "dolphin-emu"
|
||||||
|
|
|
@ -178,6 +178,8 @@ void CreateDirectories()
|
||||||
#ifndef ANDROID
|
#ifndef ANDROID
|
||||||
File::CreateFullPath(File::GetUserPath(D_THEMES_IDX));
|
File::CreateFullPath(File::GetUserPath(D_THEMES_IDX));
|
||||||
File::CreateFullPath(File::GetUserPath(D_STYLES_IDX));
|
File::CreateFullPath(File::GetUserPath(D_STYLES_IDX));
|
||||||
|
#else
|
||||||
|
File::CreateEmptyFile(File::GetUserPath(D_COVERCACHE_IDX) + DIR_SEP NOMEDIA_FILE);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue