Skip to content

Commit

Permalink
Update Dump.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
MrUnbelievable92 authored Oct 6, 2021
1 parent b90f79c commit 72a8a06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dump.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down Expand Up @@ -96,4 +96,4 @@ public static string Hex(void* ptr, int bytes, bool spaces = true)
return result;
}
}
}
}

0 comments on commit 72a8a06

Please sign in to comment.