[XAM] Maintain usage of constant XUserIndexAny

This commit is contained in:
Adrian
2024-11-27 17:48:57 +00:00
committed by Radosław Gliński
parent 2b49fc2ddc
commit 3ab712824e
3 changed files with 4 additions and 4 deletions

View File

@@ -393,7 +393,7 @@ uint8_t ProfileManager::FindFirstFreeProfileSlot() const {
return i;
}
}
return -1;
return XUserIndexAny;
}
std::bitset<XUserMaxUserCount> ProfileManager::GetUsedUserSlots() const {
@@ -422,7 +422,7 @@ uint8_t ProfileManager::GetUserIndexAssignedToProfile(
return index;
}
return -1;
return XUserIndexAny;
}
std::filesystem::path ProfileManager::GetProfileContentPath(