Mercurial > repos > blastem
changeset 831:079eb395ddd1
Fix handling of formatting character for 68K debug command p
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 19 Oct 2015 19:15:42 -0700 |
parents | 5a3ac6093ea2 |
children | 0433fdd9ba66 |
files | debug.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/debug.c Wed Oct 14 09:12:11 2015 -0700 +++ b/debug.c Mon Oct 19 19:15:42 2015 -0700 @@ -656,7 +656,7 @@ break; case 'p': format_char = 0; - for(int i = 2; input_buf[i] != 0 && input_buf[i] != ' '; i++) { + for(int i = 1; input_buf[i] != 0 && input_buf[i] != ' '; i++) { if (input_buf[i] == '/') { format_char = input_buf[i+1]; break;