mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-28 20:46:05 +00:00
use some memory limit
This commit is contained in:
parent
a6c3421f00
commit
e4344b9fb3
@ -72,6 +72,9 @@ TextureCache::TextureCache() : clearCacheNextFrame_(false), lowMemoryMode_(false
|
||||
clutBufRaw_ = new u32[4096]; // 16KB
|
||||
// glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &maxAnisotropyLevel);
|
||||
maxAnisotropyLevel = 16;
|
||||
#ifdef _XBOX
|
||||
lowMemoryMode_ = true;
|
||||
#endif
|
||||
}
|
||||
|
||||
TextureCache::~TextureCache() {
|
||||
|
@ -973,7 +973,11 @@ u32 TransformDrawEngine::ComputeFastDCID() {
|
||||
return hash;
|
||||
}
|
||||
|
||||
#ifdef _XBOX
|
||||
enum { VAI_KILL_AGE = 60 };
|
||||
#else
|
||||
enum { VAI_KILL_AGE = 120 };
|
||||
#endif
|
||||
|
||||
void TransformDrawEngine::ClearTrackedVertexArrays() {
|
||||
for (auto vai = vai_.begin(); vai != vai_.end(); vai++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user