Fix error when specifying start address in CLI version
authorHugo Villeneuve <hugo@hugovil.com>
Sun, 26 Jan 2014 20:09:20 +0000 (15:09 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Sun, 26 Jan 2014 20:09:23 +0000 (15:09 -0500)
Start address was specified as "0x0000", but need to be "0000".

src/cli/emuconsole.c

index 8cfbcae..1c88935 100644 (file)
@@ -277,7 +277,7 @@ console_main(void)
 
        if (options.stop_address != 0) {
                /* Automatically run program and stop at specified address. */
-               console_exec("0x0000", NULL);
+               console_exec("0000", NULL);
                console_show_registers();
                QuitRequest = 1;
        } else {