Remove debug code, cleanup

This commit is contained in:
Henrik Rydgård committed 2022-08-21 09:58:58 +02:00
1 parent 412d44dc92
commit e2707d3ab3
2 files changed
+4 -10

No files matched your search

-6
View File
@@ -525,10 +525,6 @@ TexCacheEntry *TextureCacheCommon::SetTexture() {
def.format = format;
def.bufw = bufw;
if (texaddr == 0x04710000) {
texaddr = texaddr;
}
std::vector<AttachCandidate> candidates = GetFramebufferCandidates(def, 0);
if (candidates.size() > 0) {
int index = GetBestCandidateIndex(candidates);
@@ -978,8 +974,6 @@ bool TextureCacheCommon::MatchFramebuffer(
if (matchingClutFormat) {
if (!noOffset) {
WARN_LOG_ONCE(subareaClut, G3D, "Texturing from framebuffer (%s) using %s with offset at %08x +%dx%d", channel == RASTER_DEPTH ? "DEPTH" : "COLOR", GeTextureFormatToString(entry.format), fb_address, matchInfo->xOffset, matchInfo->yOffset);
} else {
WARN_LOG_ONCE(subareaClut, G3D, "Texturing from framebuffer (%s) using %s at %08x", channel == RASTER_DEPTH ? "DEPTH" : "COLOR", GeTextureFormatToString(entry.format), fb_address);
}
return true;
} else if (IsClutFormat((GETextureFormat)(entry.format)) || IsDXTFormat((GETextureFormat)(entry.format))) {
+4 -4
View File
@@ -1102,6 +1102,10 @@ NPEH00029 = true
ULUS10455 = true
[BlueToAlpha]
# Some games render first to RGB of a 4444 texture, then they switch to 565 and render masked to blue,
# just to be able to render to the alpha channel of the 4444. We can detect that and reroute rendering
# to avoid problems.
# Split/Second
ULES01402 = true
ULUS10513 = true
@@ -1121,10 +1125,6 @@ ULES00262 = true
ULUS10064 = true
ULKS46087 = true
# Some games render first to RGB of a 4444 texture, then they switch to 565 and render masked to blue,
# just to be able to render to the alpha channel of the 4444. We can detect that and reroute rendering
# to avoid problems.
[DateLimited]
# Car Jack Streets - issue #12698
NPUZ00043 = true