diff --git a/GPU/GLES/ShaderManager.cpp b/GPU/GLES/ShaderManager.cpp index 6e9ccb90ea..d1d7b33529 100644 --- a/GPU/GLES/ShaderManager.cpp +++ b/GPU/GLES/ShaderManager.cpp @@ -90,6 +90,7 @@ LinkedShader::LinkedShader(Shader *vs, Shader *fs, bool useHWTransform) ERROR_LOG(G3D, "Could not link program:\n %s", buf); ERROR_LOG(G3D, "VS:\n%s", vs->source().c_str()); ERROR_LOG(G3D, "FS:\n%s", fs->source().c_str()); + Reporting::ReportMessage("Error in shader program link: info: %s / fs: %s / vs: %s", buf, fs->source().c_str(), vs->source().c_str()); #ifdef SHADERLOG OutputDebugStringUTF8(buf); OutputDebugStringUTF8(vs->source().c_str()); diff --git a/GPU/GLES/TextureCache.cpp b/GPU/GLES/TextureCache.cpp index d741e1d168..1709a104ef 100644 --- a/GPU/GLES/TextureCache.cpp +++ b/GPU/GLES/TextureCache.cpp @@ -511,7 +511,7 @@ void *TextureCache::readIndexedTex(int level, u32 texaddr, int bytesPerIndex, GL break; default: - ERROR_LOG(G3D, "Unhandled clut texture mode %d!!!", (gstate.clutformat & 3)); + ERROR_LOG_REPORT(G3D, "Unhandled clut texture mode %d!!!", (gstate.clutformat & 3)); break; } @@ -1153,12 +1153,12 @@ void TextureCache::SetTexture() { gstate_c.textureFullAlpha = (entry->status & TexCacheEntry::STATUS_ALPHA_MASK) == TexCacheEntry::STATUS_ALPHA_FULL; } UpdateSamplingParams(*entry, false); - DEBUG_LOG(G3D, "Texture at %08x Found in Cache, applying", texaddr); + VERBOSE_LOG(G3D, "Texture at %08x Found in Cache, applying", texaddr); return; //Done! } else { entry->numInvalidated++; gpuStats.numTextureInvalidations++; - INFO_LOG(G3D, "Texture different or overwritten, reloading at %08x", texaddr); + DEBUG_LOG(G3D, "Texture different or overwritten, reloading at %08x", texaddr); if (doDelete) { if (entry->maxLevel == maxLevel && entry->dim == (gstate.texsize[0] & 0xF0F) && entry->format == format && g_Config.iTexScalingLevel <= 1) { // Actually, if size and number of levels match, let's try to avoid deleting and recreating. @@ -1176,7 +1176,7 @@ void TextureCache::SetTexture() { } } } else { - INFO_LOG(G3D, "No texture in cache, decoding..."); + VERBOSE_LOG(G3D, "No texture in cache, decoding..."); TexCacheEntry entryNew = {0}; cache[cachekey] = entryNew; @@ -1363,7 +1363,7 @@ void *TextureCache::DecodeTextureLevel(GETextureFormat format, GEPaletteFormat c break; default: - ERROR_LOG(G3D, "Unknown CLUT4 texture mode %d", gstate.getClutPaletteFormat()); + ERROR_LOG_REPORT(G3D, "Unknown CLUT4 texture mode %d", gstate.getClutPaletteFormat()); return NULL; } } diff --git a/GPU/GLES/TransformPipeline.cpp b/GPU/GLES/TransformPipeline.cpp index 1f76ac005d..3d399b3d26 100644 --- a/GPU/GLES/TransformPipeline.cpp +++ b/GPU/GLES/TransformPipeline.cpp @@ -947,7 +947,7 @@ void TransformDrawEngine::DecodeVerts() { // Sanity check if (indexGen.Prim() < 0) { - ERROR_LOG(G3D, "DecodeVerts: Failed to deduce prim: %i", indexGen.Prim()); + ERROR_LOG_REPORT(G3D, "DecodeVerts: Failed to deduce prim: %i", indexGen.Prim()); // Force to points (0) indexGen.AddPrim(GE_PRIM_POINTS, 0); } diff --git a/Windows/main.cpp b/Windows/main.cpp index f5056cfdd6..c293160092 100644 --- a/Windows/main.cpp +++ b/Windows/main.cpp @@ -132,7 +132,6 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin LogManager::Init(); LogManager::GetInstance()->GetConsoleListener()->Open(hideLog, 150, 120, "PPSSPP Debug Console"); - LogManager::GetInstance()->SetLogLevel(LogTypes::G3D, LogTypes::LERROR); //Windows, API init stuff