Debugger: Fix binary print putting spaces between digits

This commit is contained in:
Jeffrey Pfau 2015-01-08 01:03:06 -08:00
parent cd48c293d6
commit a46bf5ef32
2 changed files with 2 additions and 1 deletions

View File

@ -26,6 +26,7 @@ Bugfixes:
- Qt: Fix a race condition when a game crashes immediately
- Qt: Fix some cases where key mapping can break if focus is adjusted
- GBA Memory: Filter out top nybble of DMA addresses
- Debugger: Fix binary print putting spaces between digits
Misc:
- Qt: Disable sync to video by default
- GBA: Exit cleanly on FATAL if the port supports it

View File

@ -184,7 +184,7 @@ static void _printBin(struct CLIDebugger* debugger, struct CLIDebugVector* dv) {
printf(" 0b");
int i = 32;
while (i--) {
printf(" %u", (dv->intValue >> i) & 1);
printf("%u", (dv->intValue >> i) & 1);
}
}
printf("\n");