diff options
author | Michael Pavone <pavone@retrodev.com> | 2015-10-19 19:15:42 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2015-10-19 19:15:42 -0700 |
commit | 70a4bf6d6b7c79c936e96fc8e3cceb96c125695a (patch) | |
tree | 70d421f6d54640ac1c043ef3c3d566ca31ea9e65 | |
parent | 7e4942b9fbc22c05191e0b1c4b1266d594895bbf (diff) |
Fix handling of formatting character for 68K debug command p
-rw-r--r-- | debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -656,7 +656,7 @@ int run_debugger_command(m68k_context *context, char *input_buf) 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; |