Log dimensions of framebuffer/texture collisions. Update native.

This commit is contained in:
Henrik Rydgård 2014-01-14 10:51:45 +01:00
parent 7620b71a45
commit 4fda9135da
2 changed files with 5 additions and 4 deletions

View File

@ -877,9 +877,12 @@ void TextureCache::SetTexture(bool force) {
return;
}
int w = gstate.getTextureWidth(0);
int h = gstate.getTextureHeight(0);
u32 fb_addr = gstate.getFrameBufRawAddress() | 0x04000000;
if (fb_addr == gstate.getTextureAddress(0)) {
WARN_LOG_REPORT(HLE, "Render to self texture (%08x)", fb_addr);
WARN_LOG_REPORT(HLE, "Render to self texture (%08x : %ix%i)", fb_addr, w, h);
}
GETextureFormat format = gstate.getTextureFormat();
@ -904,8 +907,6 @@ void TextureCache::SetTexture(bool force) {
}
int bufw = GetTextureBufw(0, texaddr, format);
int w = gstate.getTextureWidth(0);
int h = gstate.getTextureHeight(0);
int maxLevel = ((gstate.texmode >> 16) & 0x7);
u32 texhash = MiniHash((const u32 *)Memory::GetPointer(texaddr));

2
native

@ -1 +1 @@
Subproject commit fa55a3906076caae33951ae2c712a00361736e5e
Subproject commit 1d1ee549824d0e9ad05a27d95ef2e0043a0c5c60