mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Mask TMEM address.
Fixed images load in Blast Corps.
This commit is contained in:
parent
a9d31124a0
commit
e2347a09a5
|
@ -719,7 +719,7 @@ void TextureCache::_load(u32 _tile , CachedTexture *_pTexture)
|
|||
if (y & mirrorTBit)
|
||||
ty ^= maskTMask;
|
||||
|
||||
pSrc = &TMEM[tmptex.tMem] + line * ty;
|
||||
pSrc = &TMEM[(tmptex.tMem + line * ty)&0x1FF];
|
||||
|
||||
i = (ty & 1) << 1;
|
||||
for (x = 0; x < tmptex.realWidth; ++x) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user