summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsigsegv7 <ian@vegaa.systems>2023-09-17 20:07:32 -0400
committersigsegv7 <ian@vegaa.systems>2023-09-17 20:07:32 -0400
commita09131000810c162e2a0f4265524af43a35d0937 (patch)
tree32daa5296ac3b6782aa3a58d8ba13627c2bbdddd
parentc05ec9fd042bfa83daba1ec6f19cbe2765d10d8d (diff)
Remove problematic line within flip_block() macro
This line caused some corruption at the end of the file. When deobfuscating, you'd notice the last bytes being corrupted or missing. Signed-off-by: sigsegv7 <ian@vegaa.systems>
-rw-r--r--main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.c b/main.c
index ce6e21f..0a3c757 100644
--- a/main.c
+++ b/main.c
@@ -35,7 +35,6 @@
#define flip_block(TMP_VAR, TYPE, BUF, POS) \
TMP_VAR = *(TYPE *)&BUF[POS]; \
- TMP_VAR &= ~mask(step*8); \
TMP_VAR = ~TMP_VAR; \
*(TYPE *)&BUF[POS] = TMP_VAR; \