[XAM] Replace constant with named error in GetSubscriptionType

This commit is contained in:
Adrian 2024-09-23 19:37:18 +01:00 committed by Radosław Gliński
parent 1fd501db01
commit 2fcf8c1163
1 changed files with 1 additions and 1 deletions

View File

@ -717,7 +717,7 @@ dword_result_t XamUserGetSubscriptionType_entry(dword_t user_index,
dword_t unk4, dword_t unk5,
dword_t unk6) {
if (!unk2 || !unk3 || user_index > 4) {
return 0x80070057;
return X_E_INVALIDARG;
}
return 0;