Debugger: fix console output for 'disk info' cmd

. fix to ConsoleBufferPush() which was skipping a char when the line needed to output to a 2nd line
This commit is contained in:
tomcw
2022-04-03 18:49:32 +01:00
parent 1bcf371309
commit e97be1b836
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ std::string Disk2InterfaceCard::FormatPhaseString(float phase)
const UINT phaseInt = (UINT)phase;
const UINT phaseFrac = (UINT)((phase - (float)phaseInt) * 100 + 0.5);
return StrFormat("%02X.%2d", phaseInt, phaseFrac); // "$NN.nn"
return StrFormat("%02X.%02d", phaseInt, phaseFrac); // "$NN.nn"
}
std::string Disk2InterfaceCard::GetCurrentTrackString(void)