Previous 199869 Revisions Next

r22698 Wednesday 8th May, 2013 at 11:02:56 UTC by Miodrag Milanović
added new line support for autoboot command (nw)
[src/emu]machine.c

trunk/src/emu/machine.c
r22697r22698
235235TIMER_CALLBACK_MEMBER(running_machine::autoboot_callback)
236236{
237237   if (strlen(options().autoboot_command())!=0) {
238      ioport().natkeyboard().post_utf8(options().autoboot_command());
238      astring val = astring(options().autoboot_command());
239      val.replace("\\n","\n");
240      val.replace("\\r","\r");
241      ioport().natkeyboard().post_utf8(val);
239242      ioport().natkeyboard().post_utf8("\r");   
240243   }
241244}

Previous 199869 Revisions Next


© 1997-2024 The MAME Team