From 4b87134390530814da58c34ab5fe0a797f1420b8 Mon Sep 17 00:00:00 2001 From: Mineplay Date: Thu, 16 Oct 2025 11:55:41 -0500 Subject: [PATCH] fix(android build): fixed mistake in while comparison for compare memory function --- Src/Core/Memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Core/Memory.c b/Src/Core/Memory.c index 27b8ee5..caf20bf 100644 --- a/Src/Core/Memory.c +++ b/Src/Core/Memory.c @@ -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);