mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-30 21:33:56 +00:00
Some log level changes.
This commit is contained in:
parent
373e53fa66
commit
eb73cc23cd
@ -241,10 +241,9 @@ bool CreateDir(const std::string &path)
|
||||
bool CreateFullPath(const std::string &fullPath)
|
||||
{
|
||||
int panicCounter = 100;
|
||||
DEBUG_LOG(COMMON, "CreateFullPath: path %s", fullPath.c_str());
|
||||
VERBOSE_LOG(COMMON, "CreateFullPath: path %s", fullPath.c_str());
|
||||
|
||||
if (File::Exists(fullPath))
|
||||
{
|
||||
if (File::Exists(fullPath)) {
|
||||
DEBUG_LOG(COMMON, "CreateFullPath: path exists %s", fullPath.c_str());
|
||||
return true;
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ PBPReader::PBPReader(FileLoader *fileLoader) : file_(nullptr), header_(), isELF_
|
||||
return;
|
||||
}
|
||||
|
||||
DEBUG_LOG(LOADER, "Loading PBP, version = %08x", header_.version);
|
||||
VERBOSE_LOG(LOADER, "Loading PBP, version = %08x", header_.version);
|
||||
file_ = fileLoader;
|
||||
}
|
||||
|
||||
|
@ -460,13 +460,13 @@ handleELF:
|
||||
std::string screenshot_jpg = GetSysDirectory(DIRECTORY_SCREENSHOT) + info_->id + "_00000.jpg";
|
||||
std::string screenshot_png = GetSysDirectory(DIRECTORY_SCREENSHOT) + info_->id + "_00000.png";
|
||||
// Try using png/jpg screenshots first
|
||||
if (File::Exists(screenshot_png))
|
||||
if (File::Exists(screenshot_png)) {
|
||||
readFileToString(false, screenshot_png.c_str(), info_->icon.data);
|
||||
else if (File::Exists(screenshot_jpg))
|
||||
} else if (File::Exists(screenshot_jpg)) {
|
||||
readFileToString(false, screenshot_jpg.c_str(), info_->icon.data);
|
||||
else {
|
||||
} else {
|
||||
// Read standard icon
|
||||
DEBUG_LOG(LOADER, "Loading unknown.png because there was an ELF");
|
||||
VERBOSE_LOG(LOADER, "Loading unknown.png because there was an ELF");
|
||||
ReadVFSToString("unknown.png", &info_->icon.data, &info_->lock);
|
||||
}
|
||||
info_->icon.dataLoaded = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user