Compiler Warnings: Mismatch edition. Also fixed some conversion warnings.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2557 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Marcus Wanners
2009-03-05 15:16:50 +00:00
parent cb121dab66
commit 432ea89b49
11 changed files with 24 additions and 24 deletions

View File

@ -581,7 +581,7 @@ static void WriteStage(char *&p, int n, u32 texture_mask)
int texcoord = bpmem.tevorders[n/2].getTexCoord(n&1);
int texfun = xfregs.texcoords[texcoord].texmtxinfo.projection;
bool bHasTexCoord = texcoord < bpmem.genMode.numtexgens;
bool bHasTexCoord = unsigned int(texcoord) < bpmem.genMode.numtexgens;
bool bHasIndStage = bpmem.tevind[n].IsActive() && bpmem.tevind[n].bt < bpmem.genMode.numindstages;
// HACK to handle cases where the tex gen is not enabled