Merge pull request #3667 from raven02/patch-18

Make it invalid for subarea texture
This commit is contained in:
Henrik Rydgård 2013-09-07 10:47:11 -07:00
commit f5bb0b1640

View File

@ -222,8 +222,8 @@ inline void TextureCache::AttachFramebuffer(TexCacheEntry *entry, u32 address, V
} else if ((entry->addr - address) / entry->bufw < framebuffer->height) {
WARN_LOG_REPORT_ONCE(subarea, HLE, "Render to area containing texture at %08x", address);
// TODO: Keep track of the y offset.
// Affected game List : God of War Ghost of Sparta , Tactic Orge , Sword Art Online
AttachFramebufferValid(entry, framebuffer);
// Affected game List : God of War Ghost of Sparta , God of War Chains of Olympus
AttachFramebufferInvalid(entry, framebuffer);
}
}
}