Use signed integer for comparison

This commit is contained in:
JS Deck 2020-09-18 13:36:36 -03:00
parent fb893b3b95
commit cc678f4fc7
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ enum dither_mode psx_gpu_dither_mode;
//iCB: PGXP options
unsigned int psx_pgxp_mode;
unsigned int psx_pgxp_2d_tol;
int psx_pgxp_2d_tol;
unsigned int psx_pgxp_vertex_caching;
unsigned int psx_pgxp_texture_correction;
// \iCB

View File

@ -499,7 +499,7 @@ void Finalise_UVLimits(PS_GPU *gpu);
bool Hack_FindLine(PS_GPU *gpu, tri_vertex* vertices, tri_vertex* outVertices);
bool Hack_ForceLine(PS_GPU *gpu, tri_vertex* vertices, tri_vertex* outVertices);
extern unsigned int psx_pgxp_2d_tol;
extern int psx_pgxp_2d_tol;
template<int numvertices, bool goraud, bool textured, int BlendMode, bool TexMult, uint32_t TexMode_TA, bool MaskEval_TA, bool pgxp>
static void Command_DrawPolygon(PS_GPU *gpu, const uint32_t *cb)