[XAM] Allow savefile content being saved in common directory if requested

This commit is contained in:
Gliniak
2025-10-13 23:20:42 +02:00
committed by Radosław Gliński
parent 529e10f128
commit 6437c498bd

View File

@@ -230,7 +230,7 @@ dword_result_t xeXamContentCreate(dword_t user_index, lpstring_t root_name,
dword_t cache_size, qword_t content_size,
pointer_t<XAM_OVERLAPPED> overlapped_ptr) {
uint64_t xuid = 0;
if (user_index != XUserIndexNone) {
if (user_index != XUserIndexNone && user_index != XUserIndexAny) {
const auto& user = kernel_state()->xam_state()->GetUserProfile(user_index);
if (!user) {