mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
rpi: limit m_maxCacheSize to fix texture corruption
Limit m_maxCachSize to fix texture corruption in beetle adventure racing. I have tested values between 3500 and 8000. Everything >= 4000 produces texture corruption or stuttering after some time.
This commit is contained in:
parent
ed5ebe3047
commit
a75665c98e
|
@ -100,7 +100,11 @@ private:
|
|||
u32 m_hits, m_misses;
|
||||
s32 m_curUnpackAlignment;
|
||||
bool m_toggleDumpTex;
|
||||
#ifdef VC
|
||||
const size_t m_maxCacheSize = 3500;
|
||||
#else
|
||||
const size_t m_maxCacheSize = 8000;
|
||||
#endif
|
||||
};
|
||||
|
||||
void getTextureShiftScale(u32 tile, const TextureCache & cache, f32 & shiftScaleS, f32 & shiftScaleT);
|
||||
|
|
Loading…
Reference in New Issue
Block a user