mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-13 13:11:28 -06:00
hotfix: correctly check for valid priority (#1359)
This commit is contained in:
parent
1e16fe5349
commit
d3491bfced
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user