Reduce some excessive logging

This commit is contained in:
Henrik Rydgard 2014-06-09 19:40:05 +02:00
parent 339c4d7dc3
commit d6b51d4dfa
4 changed files with 3 additions and 8 deletions

View file

@ -162,8 +162,6 @@ PointerWrapSection::~PointerWrapSection() {
}
CChunkFileReader::Error CChunkFileReader::LoadFile(const std::string& _rFilename, int _Revision, const char *_VersionString, u8 *&_buffer, size_t &sz, std::string *_failureReason) {
INFO_LOG(COMMON, "ChunkReader: Loading %s" , _rFilename.c_str());
if (!File::Exists(_rFilename)) {
*_failureReason = "LoadStateDoesntExist";
ERROR_LOG(COMMON, "ChunkReader: File doesn't exist");

View file

@ -766,7 +766,6 @@ void DirectoryFileSystem::DoState(PointerWrap &p) {
VFSFileSystem::VFSFileSystem(IHandleAllocator *_hAlloc, std::string _basePath) : basePath(_basePath) {
INFO_LOG(FILESYS, "Creating VFS file system");
hAlloc = _hAlloc;
}
@ -832,7 +831,6 @@ PSPFileInfo VFSFileSystem::GetFileInfo(std::string filename) {
x.name = filename;
std::string fullName = GetLocalPath(filename);
INFO_LOG(FILESYS,"Getting VFS file info %s (%s)", fullName.c_str(), filename.c_str());
FileInfo fo;
if (VFSGetFileInfo(fullName.c_str(), &fo)) {
x.exists = fo.exists;
@ -843,7 +841,6 @@ PSPFileInfo VFSFileSystem::GetFileInfo(std::string filename) {
} else {
x.exists = false;
}
INFO_LOG(FILESYS,"Got VFS file info: size = %i", (int)x.size);
return x;
}
@ -872,7 +869,7 @@ int VFSFileSystem::DevType(u32 handle) {
}
size_t VFSFileSystem::ReadFile(u32 handle, u8 *pointer, s64 size) {
INFO_LOG(FILESYS,"VFSFileSystem::ReadFile %08x %p %i", handle, pointer, (u32)size);
DEBUG_LOG(FILESYS,"VFSFileSystem::ReadFile %08x %p %i", handle, pointer, (u32)size);
EntryMap::iterator iter = entries.find(handle);
if (iter != entries.end())
{

View file

@ -182,7 +182,7 @@ bool PGF::ReadPtr(const u8 *ptr, size_t dataSize) {
return false;
}
INFO_LOG(SCEFONT, "Reading %d bytes of PGF header", (int)sizeof(header));
DEBUG_LOG(SCEFONT, "Reading %d bytes of PGF header", (int)sizeof(header));
memcpy(&header, ptr, sizeof(header));
ptr += sizeof(header);

View file

@ -662,7 +662,7 @@ void __LoadInternalFonts() {
}
if (info.exists) {
INFO_LOG(SCEFONT, "Loading font %s (%i bytes)", fontFilename.c_str(), (int)info.size);
DEBUG_LOG(SCEFONT, "Loading internal font %s (%i bytes)", fontFilename.c_str(), (int)info.size);
std::vector<u8> buffer;
if (pspFileSystem.ReadEntireFile(fontFilename, buffer) < 0) {
ERROR_LOG(SCEFONT, "Failed opening font");