From 7b22d0b6bc74be9b75d1dcba45131fdbd0c1da69 Mon Sep 17 00:00:00 2001 From: zeromus Date: Wed, 16 Dec 2009 05:47:09 +0000 Subject: [PATCH] i doubt everyone wants a hacky debug print to appear every frame --- desmume/src/texcache.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/desmume/src/texcache.cpp b/desmume/src/texcache.cpp index d618ec98b..991a99675 100644 --- a/desmume/src/texcache.cpp +++ b/desmume/src/texcache.cpp @@ -642,7 +642,9 @@ public: void evict(u32 target = kMaxCacheSize) { - printf("%d %d/%d\n",index.size(),cache_size/1024,target/1024); + //debug print + //printf("%d %d/%d\n",index.size(),cache_size/1024,target/1024); + //dont do anything unless we're over the target if(cache_size