Log dimensions of framebuffer/texture collisions. Update native.
This commit is contained in:
parent
7620b71a45
commit
4fda9135da
2 changed files with 5 additions and 4 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue