File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export class MSDOSplayer {
8787 else {
8888 let box = new DOSBox ( ) ;
8989 if ( runordebug ) {
90- box . openDOSBox ( conf , 'T.EXE\n ' + conf . boxruncmd ) ;
90+ box . openDOSBox ( conf , 'T.EXE' + conf . boxruncmd ) ;
9191 }
9292 else {
9393 box . openDOSBox ( conf , debug ) ;
Original file line number Diff line number Diff line change @@ -107,8 +107,9 @@ export class Config {
107107 let command : string = ' ' ;
108108 switch ( this . _BOXrun ) {
109109 case "keep" : command = ' ' ; break ;
110- case "exit after run" : command = 'exit' ; break ;
111- case "pause then exit after run" : command = 'pause \n exit' ; break ;
110+ case "exit" : command = '\n exit' ; break ;
111+ case "pause" :
112+ default : command = '\n pause \n exit' ; break ;
112113 }
113114 return command ;
114115 }
@@ -120,7 +121,8 @@ export class Config {
120121 switch ( this . _BOXrun ) {
121122 case "keep" : param = 'k' ; break ;
122123 case "exit" : param = 'e' ; break ;
123- case "pause" : param = 'p' ; break ;
124+ case "pause" :
125+ default : param = 'p' ; break ;
124126 }
125127 return param ;
126128 }
You can’t perform that action at this time.
0 commit comments