mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 05:19:56 +00:00
To avoid strange images in Android gallery, pre-create TEXTURES with a .nomedia, and add .nomedia to the PSP directory.
This commit is contained in:
parent
128c0adc39
commit
217205e433
@ -344,11 +344,15 @@ void CreateDirectoriesAndroid() {
|
||||
File::CreateFullPath(GetSysDirectory(DIRECTORY_SAVESTATE));
|
||||
File::CreateFullPath(GetSysDirectory(DIRECTORY_GAME));
|
||||
File::CreateFullPath(GetSysDirectory(DIRECTORY_SYSTEM));
|
||||
File::CreateFullPath(GetSysDirectory(DIRECTORY_TEXTURES));
|
||||
|
||||
// Avoid media scanners in PPSSPP_STATE and SAVEDATA directories
|
||||
// Avoid media scanners in PPSSPP_STATE and SAVEDATA directories,
|
||||
// and in the root PSP directory as well.
|
||||
File::CreateEmptyFile(g_Config.memStickDirectory + "PSP/.nomedia");
|
||||
File::CreateEmptyFile(GetSysDirectory(DIRECTORY_SAVESTATE) + ".nomedia");
|
||||
File::CreateEmptyFile(GetSysDirectory(DIRECTORY_SAVEDATA) + ".nomedia");
|
||||
File::CreateEmptyFile(GetSysDirectory(DIRECTORY_SYSTEM) + ".nomedia");
|
||||
File::CreateEmptyFile(GetSysDirectory(DIRECTORY_TEXTURES) + ".nomedia");
|
||||
}
|
||||
|
||||
static void CheckFailedGPUBackends() {
|
||||
|
Loading…
Reference in New Issue
Block a user