mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 18:15:14 +00:00
Disable user id validation
Disable user id validation until user manager is ready.
This commit is contained in:
parent
4cb6b19ff7
commit
493ef82a16
@ -300,7 +300,7 @@ Error PS4_SYSV_ABI sceImeKeyboardClose(Libraries::UserService::OrbisUserServiceU
|
||||
return Error::NOT_OPENED;
|
||||
}
|
||||
|
||||
if (userId < 0 || userId > 4) { // Todo: check valid user IDs
|
||||
if ((userId < 0 || userId > 4) && false) { // TODO: Check for valid user IDs. Disabled until user manager is ready.
|
||||
// Maybe g_keyboard_handler should hold a user ID and I must compare it here?
|
||||
LOG_ERROR(Lib_Ime, "Invalid userId: {}", userId);
|
||||
return Error::INVALID_USER_ID;
|
||||
@ -350,7 +350,7 @@ Error PS4_SYSV_ABI sceImeKeyboardOpen(Libraries::UserService::OrbisUserServiceUs
|
||||
static_cast<u32>(param->option), kValidOrbisImeKeyboardOptionMask);
|
||||
return Error::INVALID_OPTION;
|
||||
}
|
||||
if (userId < 0 || userId > 4) { // Todo: check valid user IDs
|
||||
if ((userId < 0 || userId > 4) && false) { // TODO: Check for valid user IDs. Disabled until user manager is ready.
|
||||
LOG_ERROR(Lib_Ime, "Invalid userId: {}", userId);
|
||||
return Error::INVALID_USER_ID;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user