Putting the user_index == 255 check back into XamUserReadProfileSettings.

This commit is contained in:
gibbed 2015-06-07 04:51:50 -05:00
parent cbd1210337
commit 0fb9161a1b
1 changed files with 5 additions and 0 deletions

View File

@ -137,6 +137,11 @@ SHIM_CALL XamUserReadProfileSettings_shim(PPCContext* ppc_context,
assert_zero(unk_0); assert_zero(unk_0);
assert_zero(unk_1); assert_zero(unk_1);
// TODO(gibbed): why is this a thing?
if (user_index == 255) {
user_index = 0;
}
// Title ID = 0 means us. // Title ID = 0 means us.
// 0xfffe07d1 = profile? // 0xfffe07d1 = profile?