Debugger: Fix binary print putting spaces between digits

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

View File

@ -45,6 +45,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

@ -191,7 +191,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");