Remove some unsigned < 0 comparisons.

This commit is contained in:
Unknown W. Brackets committed 2013-07-26 22:12:12 -07:00
1 parent b9862c29a0
commit ddc2c15ce8
3 files changed
+3 -8

No files matched your search

+1 -1
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;
}