mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 22:40:29 +02:00
Remove some unsigned < 0 comparisons.
This commit is contained in:
1 parent
b9862c29a0
commit
ddc2c15ce8
3 files changed
+3
-8
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user