[XAM] Fixed crash due to missing XELOGW arguments in user tracker
This commit is contained in:
@@ -28,7 +28,7 @@ namespace xam {
|
|||||||
|
|
||||||
bool UserTracker::AddUser(uint64_t xuid) {
|
bool UserTracker::AddUser(uint64_t xuid) {
|
||||||
if (IsUserTracked(xuid)) {
|
if (IsUserTracked(xuid)) {
|
||||||
XELOGW("{}: User is already on tracking list!");
|
XELOGW("{}: User is already on tracking list!", __func__);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -42,7 +42,7 @@ bool UserTracker::AddUser(uint64_t xuid) {
|
|||||||
|
|
||||||
bool UserTracker::RemoveUser(uint64_t xuid) {
|
bool UserTracker::RemoveUser(uint64_t xuid) {
|
||||||
if (!IsUserTracked(xuid)) {
|
if (!IsUserTracked(xuid)) {
|
||||||
XELOGW("{}: User is not on tracking list!");
|
XELOGW("{}: User is not on tracking list!", __func__);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -206,7 +206,7 @@ bool UserTracker::IsUserTracked(uint64_t xuid) const {
|
|||||||
std::optional<TitleInfo> UserTracker::GetUserTitleInfo(
|
std::optional<TitleInfo> UserTracker::GetUserTitleInfo(
|
||||||
uint64_t xuid, uint32_t title_id) const {
|
uint64_t xuid, uint32_t title_id) const {
|
||||||
if (!IsUserTracked(xuid)) {
|
if (!IsUserTracked(xuid)) {
|
||||||
XELOGW("{}: User is not on tracking list!");
|
XELOGW("{}: User is not on tracking list!", __func__);
|
||||||
return std::nullopt;
|
return std::nullopt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user