[Kernel] Proper size in XamUserCreateAchievementEnumerator.
This commit is contained in:
parent
248b661d14
commit
527f960288
|
@ -455,11 +455,10 @@ dword_result_t XamUserCreateAchievementEnumerator(dword_t title_id,
|
|||
lpdword_t buffer_size_ptr,
|
||||
lpdword_t handle_ptr) {
|
||||
if (buffer_size_ptr) {
|
||||
// TODO(benvanik): struct size/etc.
|
||||
*buffer_size_ptr = 64 * count;
|
||||
*buffer_size_ptr = 500 * count;
|
||||
}
|
||||
|
||||
auto e = new XStaticEnumerator(kernel_state(), count, 64);
|
||||
auto e = new XStaticEnumerator(kernel_state(), count, 500);
|
||||
e->Initialize();
|
||||
|
||||
*handle_ptr = e->handle();
|
||||
|
|
Loading…
Reference in New Issue