From d9735d3702a50c8798513a4b03b602f42120ad94 Mon Sep 17 00:00:00 2001 From: Gliniak Date: Sat, 14 Dec 2019 16:37:26 +0100 Subject: [PATCH] [XAM] Removed code related to buffer clear Some games have hardcoded buffer size which doesn't match real size --- src/xenia/kernel/xam/xam_info.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/xenia/kernel/xam/xam_info.cc b/src/xenia/kernel/xam/xam_info.cc index b4bf4bc18..370dfff65 100644 --- a/src/xenia/kernel/xam/xam_info.cc +++ b/src/xenia/kernel/xam/xam_info.cc @@ -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(); } - - - buffer.Zero(actual_buffer_length); - X_RESULT result; uint32_t item_count = 0;