Simplify adding report messages, add a bunch more.

This commit is contained in:
Unknown W. Brackets committed 2013-03-26 00:54:00 -07:00
1 parent f89358d6ff
commit e4223dbcb0
18 files changed
+79 -103

No files matched your search

+2 -4
View File
@@ -672,8 +672,7 @@ void TextureCache::SetTexture() {
u32 format = gstate.texformat & 0xF;
if (format >= 11) {
Reporting::ReportMessage("Unknown texture format %i", format);
ERROR_LOG(G3D, "Unknown texture format %i", format);
ERROR_LOG_REPORT(G3D, "Unknown texture format %i", format);
format = 0;
}
bool hasClut = formatUsesClut[format];
@@ -1089,8 +1088,7 @@ void TextureCache::LoadTextureLevel(TexCacheEntry &entry, int level)
break;
default:
Reporting::ReportMessage("Unknown texture format %i", entry.format);
ERROR_LOG(G3D, "Unknown Texture Format %d!!!", entry.format);
ERROR_LOG_REPORT(G3D, "Unknown Texture Format %d!!!", entry.format);
finalBuf = tmpTexBuf32;
return;
}