From 60f158d4880a0ec440dd2848911bfa7fff6adc9c Mon Sep 17 00:00:00 2001 From: Aurora Wright Date: Sat, 29 Apr 2017 18:12:14 +0200 Subject: [PATCH] This is unused now --- injector/source/patcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/injector/source/patcher.c b/injector/source/patcher.c index b5bfc15..8b85eb5 100644 --- a/injector/source/patcher.c +++ b/injector/source/patcher.c @@ -13,7 +13,7 @@ static u32 patchMemory(u8 *start, u32 size, const void *pattern, u32 patSize, in { u32 i; - for(i = 0; !count || i < count; i++) + for(i = 0; i < count; i++) { u8 *found = memsearch(start, pattern, size, patSize);