Don't need to memset the xex memory twice.

This commit is contained in:
Dr. Chat 2015-05-18 10:42:35 -05:00
parent ef912e7e13
commit 9c949a2e87
1 changed files with 0 additions and 1 deletions

View File

@ -612,7 +612,6 @@ int xe_xex2_read_image_basic_compressed(const xe_xex2_header_t *header,
uint8_t *buffer = memory->TranslateVirtual(header->exe_address);
std::memset(buffer, 0, total_size); // Quickly zero the contents.
uint8_t *d = buffer;
std::memset(buffer, 0, uncompressed_size);
uint32_t rk[4 * (MAXNR + 1)];
uint8_t ivec[16] = {0};