From 4046b56031fdfedc2193aceee60fa009a1332c7c Mon Sep 17 00:00:00 2001 From: gabest11 Date: Tue, 26 Apr 2011 01:04:52 +0000 Subject: [PATCH] GSdx: forgot about something... git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4598 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/GSdx/GSLocalMemory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/GSdx/GSLocalMemory.cpp b/plugins/GSdx/GSLocalMemory.cpp index 2abc70d590..379c05c117 100644 --- a/plugins/GSdx/GSLocalMemory.cpp +++ b/plugins/GSdx/GSLocalMemory.cpp @@ -561,13 +561,13 @@ list* GSLocalMemory::GetPage2TileMap(const GIFRegTEX0& TEX0) GSVector2i bs = m_psm[TEX0.PSM].bs; int tw = std::max(1 << TEX0.TW, bs.x); - int th = std::max(1 << TEX0.TH, bs.y); + // int th = std::max(1 << TEX0.TH, bs.y); const GSOffset* o = GetOffset(TEX0.TBP0, TEX0.TBW, TEX0.PSM); hash_map > tmp; // key = page, value = y:x, 7 bits each, max 128x128 tiles for the worst case (1024x1024 32bpp 8x8 blocks) - for(int y = 0; y < th; y += bs.y) + for(int y = 0; y < 1024; y += bs.y) // the hash is a little short on bits for TEX0.TH, hard-coding it to 1024 lines { uint32 base = o->block.row[y >> 3];