| 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 |
| r22697 | r22698 | |
|---|---|---|
| 235 | 235 | TIMER_CALLBACK_MEMBER(running_machine::autoboot_callback) |
| 236 | 236 | { |
| 237 | 237 | 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); | |
| 239 | 242 | ioport().natkeyboard().post_utf8("\r"); |
| 240 | 243 | } |
| 241 | 244 | } |
| Previous | 199869 Revisions | Next |