From ab4ee759619a21a94b15705772d6feacf6e23c46 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Fri, 12 May 2017 06:21:49 -0700 Subject: [PATCH] IBM1130: Give notepad a chance to open its file before proceeding --- Ibm1130/ibm1130_cpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Ibm1130/ibm1130_cpu.c b/Ibm1130/ibm1130_cpu.c index 186e8422..b667851a 100644 --- a/Ibm1130/ibm1130_cpu.c +++ b/Ibm1130/ibm1130_cpu.c @@ -1941,6 +1941,7 @@ static t_stat view_cmd (int32 flag, CONST char *cptr) sprintf(cmdline, "notepad %s", cptr); WinExec(cmdline, SW_SHOWNORMAL); + Sleep(1000); /* wait a bit to allow notepad to open the file */ #endif return SCPE_OK; }