From 72a8a067d3aeceaaf92f844b6412bec77f76928f Mon Sep 17 00:00:00 2001 From: Maximilian Kalimon Date: Wed, 6 Oct 2021 08:21:54 +0200 Subject: [PATCH] Update Dump.cs --- Dump.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dump.cs b/Dump.cs index 9e13f3f..37a987a 100644 --- a/Dump.cs +++ b/Dump.cs @@ -15,7 +15,7 @@ public static string Bits(byte value, bool spaces = true) result[4] = ' '; - for (int i = 4; i < 9; i++) + for (int i = 5; i < 9; i++) { result[i] = (char)(((value >> (7 - i)) & 1) + '0'); } @@ -96,4 +96,4 @@ public static string Hex(void* ptr, int bytes, bool spaces = true) return result; } } -} \ No newline at end of file +}