Act as if reset was pressed if no hex file is specified at startup
authorHugo Villeneuve <hugo@hugovil.com>
Thu, 10 Oct 2013 01:01:21 +0000 (21:01 -0400)
committerHugo Villeneuve <hugo@hugovil.com>
Thu, 10 Oct 2013 01:08:17 +0000 (21:08 -0400)
src/emugtk.c

index 7cd5a2a..4b256f9 100644 (file)
@@ -448,6 +448,8 @@ main(int argc, char **argv)
 
        if (hex_file != NULL)
                emugtk_new_file(hex_file);
+       else
+               emugtk_Reset();
 
        gtk_main();