From: Hugo Villeneuve Date: Thu, 10 Oct 2013 01:01:21 +0000 (-0400) Subject: Act as if reset was pressed if no hex file is specified at startup X-Git-Tag: v2.0.0~139 X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=ac54ee974bcfab656fd5cad6f6057dd5dd1bca04;p=emu8051.git Act as if reset was pressed if no hex file is specified at startup --- diff --git a/src/emugtk.c b/src/emugtk.c index 7cd5a2a..4b256f9 100644 --- a/src/emugtk.c +++ b/src/emugtk.c @@ -448,6 +448,8 @@ main(int argc, char **argv) if (hex_file != NULL) emugtk_new_file(hex_file); + else + emugtk_Reset(); gtk_main();