From 57c73c8a5151739b6e417c2674830232d387a745 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sat, 4 Feb 2017 17:49:22 +0200 Subject: [PATCH] Fixed the help command for the disassemble command --- Core/debugger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/debugger.c b/Core/debugger.c index 6e54e1e..cea472e 100644 --- a/Core/debugger.c +++ b/Core/debugger.c @@ -1421,7 +1421,7 @@ static const debugger_command_t commands[] = { {"eval", 2, }, /* Alias */ {"examine", 2, examine, "Examine values at address", "", "count"}, {"x", 1, }, /* Alias */ - {"disassemble", 1, disassemble, "disassemble instructions at address", "", "count"}, + {"disassemble", 1, disassemble, "Disassemble instructions at address", "", "count"}, {"help", 1, help, "List available commands or show help for the specified command", "[]"}, @@ -1455,7 +1455,7 @@ static void print_command_description(GB_gameboy_t *gb, const debugger_command_t { print_command_shortcut(gb, command); GB_log(gb, ": "); - GB_log(gb, (const char *)&" %s\n" + strlen(command->command), command->help_string); + GB_log(gb, (const char *)&" %s\n" + strlen(command->command), command->help_string); } static bool help(GB_gameboy_t *gb, char *arguments, char *modifiers, const debugger_command_t *ignored)