mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Minor fixes
This commit is contained in:
parent
b39206f922
commit
6df8573583
2 changed files with 3 additions and 3 deletions
|
@ -1030,7 +1030,7 @@ void ShaderManager::Save(const std::string &filename) {
|
||||||
if (!diskCacheDirty_) {
|
if (!diskCacheDirty_) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!linkedShaderCache_.size()) {
|
if (linkedShaderCache_.empty()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
INFO_LOG(G3D, "Saving the shader cache to '%s'", filename.c_str());
|
INFO_LOG(G3D, "Saving the shader cache to '%s'", filename.c_str());
|
||||||
|
|
|
@ -309,7 +309,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||||
VFSRegister("", new AssetsAssetReader());
|
VFSRegister("", new AssetsAssetReader());
|
||||||
#elif defined(BLACKBERRY) || defined(IOS)
|
#elif defined(BLACKBERRY) || defined(IOS)
|
||||||
// Packed assets are included in app
|
// Packed assets are included in app
|
||||||
VFSRegister("", new DirectoryAssetReader(external_directory));
|
VFSRegister("", new DirectoryAssetReader(external_dir));
|
||||||
#elif !defined(MOBILE_DEVICE) && !defined(_WIN32)
|
#elif !defined(MOBILE_DEVICE) && !defined(_WIN32)
|
||||||
VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory() + "assets/").c_str()));
|
VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory() + "assets/").c_str()));
|
||||||
VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory()).c_str()));
|
VFSRegister("", new DirectoryAssetReader((File::GetExeDirectory()).c_str()));
|
||||||
|
@ -360,7 +360,7 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ANDROID
|
#ifdef ANDROID
|
||||||
// On Android, create a PSP directory tree in the external_directory,
|
// On Android, create a PSP directory tree in the external_dir,
|
||||||
// to hopefully reduce confusion a bit.
|
// to hopefully reduce confusion a bit.
|
||||||
ILOG("Creating %s", (g_Config.memStickDirectory + "PSP").c_str());
|
ILOG("Creating %s", (g_Config.memStickDirectory + "PSP").c_str());
|
||||||
File::CreateDir((g_Config.memStickDirectory + "PSP").c_str());
|
File::CreateDir((g_Config.memStickDirectory + "PSP").c_str());
|
||||||
|
|
Loading…
Add table
Reference in a new issue