mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-30 08:50:33 +00:00
Log dimensions of framebuffer/texture collisions. Update native.
This commit is contained in:
parent
7620b71a45
commit
4fda9135da
@ -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
2
native
@ -1 +1 @@
|
||||
Subproject commit fa55a3906076caae33951ae2c712a00361736e5e
|
||||
Subproject commit 1d1ee549824d0e9ad05a27d95ef2e0043a0c5c60
|
Loading…
Reference in New Issue
Block a user