diff --git a/Core/HLE/sceIo.cpp b/Core/HLE/sceIo.cpp index 513ab4d4e1..e3a2355adf 100644 --- a/Core/HLE/sceIo.cpp +++ b/Core/HLE/sceIo.cpp @@ -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; }