Remove some unsigned < 0 comparisons.

This commit is contained in:
Unknown W. Brackets 2013-07-26 22:12:12 -07:00
parent b9862c29a0
commit ddc2c15ce8
3 changed files with 3 additions and 8 deletions

View file

@ -1261,7 +1261,7 @@ u32 AllocMemoryBlock(const char *pname, u32 type, u32 size, u32 paramsAddr) {
WARN_LOG(HLE, "AllockMemoryBlock(SysMemUserForUser_FE707FDF) : unknown parameters with length %d", length);
}
}
if (type < 0 || type > 1) {
if (type > 1) {
return SCE_KERNEL_ERROR_ILLEGAL_MEMBLOCKTYPE;
}