Browse Source

Fixed stack debugger

main
Devine Lu Linvega 2 years ago
parent
commit
21ce072e9d
  1. 4
      src/devices/system.c

4
src/devices/system.c

@ -45,8 +45,8 @@ static void
system_print(Stack *s)
{
Uint8 i;
for(i = s->ptr - 7; i != (Uint8)(s->ptr + 1); i++)
fprintf(stderr, "%02x%c", s->dat[i], i == 0 ? '|' : ' ');
for(i = s->ptr - 7; i != (Uint8)(s->ptr); i++)
fprintf(stderr, "%02x%c", s->dat[i], i == 0xff ? '|' : ' ');
fprintf(stderr, "< \n");
}

Loading…
Cancel
Save