mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-12-22 09:30:15 +00:00
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:
parent
1bcf371309
commit
e97be1b836
@ -292,7 +292,8 @@ void ConsoleBufferPush ( const char * pText )
|
||||
{
|
||||
g_nConsoleBuffer++;
|
||||
}
|
||||
pSrc++;
|
||||
if (c == '\n')
|
||||
pSrc++;
|
||||
pDst = & g_aConsoleBuffer[ g_nConsoleBuffer ][ 0 ];
|
||||
}
|
||||
else
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user