GSdx: GSOffset::GetPages was caching a ridiculous amount of data, it isn't that much slower without it.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5028 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
gabest11 committed 2011-12-28 20:21:32 +00:00
1 parent 03bca19d99
commit 6f97ca35e2
7 files changed
+63 -71

No files matched your search

+4 -2
View File
@@ -319,11 +319,11 @@ void GSTextureCache::InvalidateVideoMem(GSOffset* o, const GSVector4i& rect, boo
GSVector4i r;
list<uint32>* pages = o->GetPages(rect, &r);
vector<uint32>* pages = o->GetPages(rect, &r);
bool found = false;
for(list<uint32>::iterator p = pages->begin(); p != pages->end(); p++)
for(vector<uint32>::iterator p = pages->begin(); p != pages->end(); p++)
{
uint32 page = *p;
@@ -372,6 +372,8 @@ void GSTextureCache::InvalidateVideoMem(GSOffset* o, const GSVector4i& rect, boo
}
}
delete pages;
if(!target) return;
for(int type = 0; type < 2; type++)