[XAM] Fixed incorrect enumerator size
This should fix MCLA
This commit is contained in:
parent
1cf9b168e5
commit
bff24e3c18
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue