XAM: Write as many items possible when enumerating. Fixes Nier not detecting system save data (and possibly other games).

This commit is contained in:
gibbed
2017-08-08 04:53:01 -05:00
parent 355d9f6c62
commit 1e92a4e06c
2 changed files with 24 additions and 9 deletions

View File

@@ -173,7 +173,7 @@ dword_result_t XamContentCreateEnumerator(dword_t user_index, dword_t device_id,
}
if (buffer_size_ptr) {
*buffer_size_ptr = (uint32_t)XCONTENT_DATA::kSize;
*buffer_size_ptr = (uint32_t)XCONTENT_DATA::kSize * max_count;
}
auto e =