Return SCE_KERNEL_ERROR_ILLEGAL_PRIORITY when priority < 0

This commit is contained in:
raven02 committed 2013-09-24 21:51:05 +08:00
1 parent 4cba4efbba
commit ac95819ec1
1 file changed
+3
+3
View File
@@ -1526,6 +1526,9 @@ u32 sceIoChdir(const char *dirname) {
int sceIoChangeAsyncPriority(int id, int priority)
{
if (priority < 0) {
return SCE_KERNEL_ERROR_ILLEGAL_PRIORITY;
}
ERROR_LOG(SCEIO, "UNIMPL sceIoChangeAsyncPriority(%d, %d)", id, priority);
return 0;
}