1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-07 03:13:49 +00:00

Remove obsolete hack for Zelda warp texture.

Fixed Bond's Portrait texture in GE.
This commit is contained in:
Sergey Lipskiy 2014-12-06 13:42:18 +06:00
parent 8a70d44110
commit 67e6f23f36

View File

@ -831,10 +831,6 @@ void TextureCache::_load(u32 _tile, CachedTexture *_pTexture)
mirrorTBit = 0x0000;
}
// Hack for Zelda warp texture
if (((tmptex.tMem << 3) + (tmptex.width * tmptex.height << tmptex.size >> 1)) > 4096)
tmptex.tMem = 0;
if (tmptex.size == G_IM_SIZ_32b) {
const u16 * tmem16 = (u16*)TMEM;
const u32 tbase = tmptex.tMem << 2;