mirror of https://github.com/PCSX2/pcsx2.git
GS: Fix Wsign-compare warning.
This commit is contained in:
parent
c127d23d75
commit
93abd2f2e5
|
@ -372,7 +372,7 @@ std::vector<GSVector2i>* GSLocalMemory::GetPage2TileMap(const GIFRegTEX0& TEX0)
|
||||||
int th = std::max<int>(1 << TEX0.TH, bs.y);
|
int th = std::max<int>(1 << TEX0.TH, bs.y);
|
||||||
|
|
||||||
// Limit the size to the maximum size of the GS memory, there's no point in mapping more than this.
|
// Limit the size to the maximum size of the GS memory, there's no point in mapping more than this.
|
||||||
if ((tw * th) > VM_SIZE)
|
if ((tw * th) > static_cast<int>(VM_SIZE))
|
||||||
{
|
{
|
||||||
tw = 2048;
|
tw = 2048;
|
||||||
th = 2048;
|
th = 2048;
|
||||||
|
|
Loading…
Reference in New Issue