Add an noautoexec switch (RFE: 1215226). And made echo off skip the internal SET lines of dosbox as well. (RFE/PATCH: 1258897)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2428
This commit is contained in:
parent
92203e9c1a
commit
afb9e84c53
3 changed files with 59 additions and 40 deletions
|
@ -53,8 +53,9 @@ void VFILE_Remove(const char *name) {
|
|||
VFILE_Block * chan=first_file;
|
||||
VFILE_Block * * where=&first_file;
|
||||
while (chan) {
|
||||
if (strcmp(name,chan->name)==0) {
|
||||
*where=chan->next;
|
||||
if (strcmp(name,chan->name) == 0) {
|
||||
*where = chan->next;
|
||||
if(chan == first_file) first_file = chan->next;
|
||||
delete chan;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue