mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 10:10:12 +01:00
gsdx: use prefix increment operator for non-primitive type
I think compiler is clever enough to optimize the code but it won't hurt and it reduces the number of cpp check warning.
This commit is contained in:
1 parent
dc2864ad7a
commit
0a1454ff6c
7 files changed
+19
-19
No files matched your search
@@ -40,7 +40,7 @@ GSTextureCacheSW::Texture* GSTextureCacheSW::Lookup(const GIFRegTEX0& TEX0, cons
|
||||
|
||||
list<Texture*>& m = m_map[TEX0.TBP0 >> 5];
|
||||
|
||||
for(list<Texture*>::iterator i = m.begin(); i != m.end(); i++)
|
||||
for(list<Texture*>::iterator i = m.begin(); i != m.end(); ++i)
|
||||
{
|
||||
Texture* t2 = *i;
|
||||
|
||||
@@ -91,7 +91,7 @@ void GSTextureCacheSW::InvalidatePages(const uint32* pages, uint32 psm)
|
||||
|
||||
const list<Texture*>& map = m_map[page];
|
||||
|
||||
for(list<Texture*>::const_iterator i = map.begin(); i != map.end(); i++)
|
||||
for(list<Texture*>::const_iterator i = map.begin(); i != map.end(); ++i)
|
||||
{
|
||||
Texture* t = *i;
|
||||
|
||||
@@ -103,7 +103,7 @@ void GSTextureCacheSW::InvalidatePages(const uint32* pages, uint32 psm)
|
||||
{
|
||||
vector<GSVector2i>& l = t->m_p2t[page];
|
||||
|
||||
for(vector<GSVector2i>::iterator j = l.begin(); j != l.end(); j++)
|
||||
for(vector<GSVector2i>::iterator j = l.begin(); j != l.end(); ++j)
|
||||
{
|
||||
valid[j->x] &= j->y;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user