fix(android build): fixed mistake in while comparison for compare memory function

This commit is contained in:
Mineplay 2025-10-16 11:55:41 -05:00
parent c0f40ecddf
commit 4b87134390

View file

@ -465,7 +465,7 @@ bool hallocy_compare_memory(void *left_side, void *right_side, const size_t size
}
}
while (end_address - destination_bytes >= SIMD_128_WIDTH) {
while (left_side_bytes - end_address >= SIMD_128_WIDTH) {
uint8x16_t simd_left_side_value = vdupq_n_u8(*left_side_bytes);
uint8x16_t simd_right_side_value = vdupq_n_u8(*right_side_bytes);