[XAM] Fixed incorrect enumerator size

This should fix MCLA
This commit is contained in:
Gliniak 2023-10-15 17:22:01 +02:00 committed by Radosław Gliński
parent 1cf9b168e5
commit bff24e3c18
1 changed files with 2 additions and 2 deletions

View File

@ -93,8 +93,8 @@ dword_result_t XamCreateEnumeratorHandle_entry(
auto e = object_ref<XStaticUntypedEnumerator>( auto e = object_ref<XStaticUntypedEnumerator>(
new XStaticUntypedEnumerator(kernel_state(), item_count, extra_size)); new XStaticUntypedEnumerator(kernel_state(), item_count, extra_size));
auto result = auto result = e->Initialize(user_index, app_id, open_message, close_message,
e->Initialize(user_index, app_id, open_message, close_message, flags); flags, extra_size, nullptr);
if (XFAILED(result)) { if (XFAILED(result)) {
return result; return result;
} }