mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Temporal workaround for crashes in TextureCache::_loadHiresTexture when mip-mapped textures loaded.
See #1711 for details.
This commit is contained in:
parent
ffaaf1f664
commit
2b0e1e64c2
|
@ -855,6 +855,11 @@ bool TextureCache::_loadHiresTexture(u32 _tile, CachedTexture *_pTexture, u64 &
|
|||
|
||||
gDPLoadTileInfo & info = gDP.loadInfo[_pTexture->tMem];
|
||||
|
||||
// Temporal workaround for crash problem with mip-mapped textures. See #1711 for details.
|
||||
// TODO: make proper fix.
|
||||
if (info.texAddress == 0)
|
||||
return false;
|
||||
|
||||
int bpl;
|
||||
int width, height;
|
||||
u8 * addr = (u8*)(RDRAM + info.texAddress);
|
||||
|
|
Loading…
Reference in New Issue
Block a user