[XAM] Removed code related to buffer clear
Some games have hardcoded buffer size which doesn't match real size
This commit is contained in:
parent
3b0b45a1bb
commit
d9735d3702
|
@ -377,10 +377,6 @@ dword_result_t XamEnumerate(dword_t handle, dword_t flags, lpvoid_t buffer,
|
||||||
actual_buffer_length = e->item_count() * e->item_size();
|
actual_buffer_length = e->item_count() * e->item_size();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
buffer.Zero(actual_buffer_length);
|
|
||||||
|
|
||||||
X_RESULT result;
|
X_RESULT result;
|
||||||
uint32_t item_count = 0;
|
uint32_t item_count = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue