hotfix: correctly check for valid priority (#1359)

This commit is contained in:
Lander Gallastegi 2024-10-13 10:35:05 +02:00 committed by GitHub
parent 1e16fe5349
commit d3491bfced
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -175,7 +175,7 @@ Error PS4_SYSV_ABI sceImeDialogInit(OrbisImeDialogParam* param, OrbisImeParamExt
}
if (extended) {
if (magic_enum::enum_contains(extended->priority)) {
if (!magic_enum::enum_contains(extended->priority)) {
LOG_INFO(Lib_ImeDialog, "Invalid extended->priority");
return Error::INVALID_EXTENDED;
}