Merge pull request #188 from mjbudd77/master

Per request, changed the Qt debugger stack display to use a more comp…
This commit is contained in:
mjbudd77 2020-10-18 00:32:14 -04:00 committed by GitHub
commit 30f6f385ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -3364,7 +3364,7 @@ void DebuggerStackDisplay::updateText(void)
{
if ( showAddrs || (stackBytesPerLine <= 1) )
{
sprintf( stmp, " $%04X : %02X", stackPtr, GetMem(stackPtr) );
sprintf( stmp, "%03X: %02X", stackPtr, GetMem(stackPtr) );
}
else
{
@ -3386,7 +3386,7 @@ void DebuggerStackDisplay::updateText(void)
{
if ( showAddrs )
{
sprintf( stmp, "\n $%04X : %02X", stackPtr, GetMem(stackPtr) );
sprintf( stmp, "\n%03X: %02X", stackPtr, GetMem(stackPtr) );
}
else
{
@ -3400,7 +3400,7 @@ void DebuggerStackDisplay::updateText(void)
}
else
{
sprintf( stmp, "\n $%04X : %02X", stackPtr, GetMem(stackPtr) );
sprintf( stmp, "\n%03X: %02X", stackPtr, GetMem(stackPtr) );
}
stackLine.append( stmp );