Avoid some dangerous hex constant widths.

This commit is contained in:
Unknown W. Brackets committed 2013-08-22 23:23:48 -07:00
1 parent 083fa71c1a
commit 1ed8edb0d3
20 files changed
+82 -82

No files matched your search

+1 -1
View File
@@ -130,7 +130,7 @@ void TextureCache::Decimate() {
}
void TextureCache::Invalidate(u32 addr, int size, GPUInvalidationType type) {
addr &= 0xFFFFFFF;
addr &= 0x0FFFFFFF;
u32 addr_end = addr + size;
// They could invalidate inside the texture, let's just give a bit of leeway.