Skip to content

Commit

Permalink
- do not override command-line nopro
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvids committed Oct 29, 2021
1 parent e0a4cf5 commit 0be7ba2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WOLFSRC/ID_SD.C
Original file line number Diff line number Diff line change
Expand Up @@ -2425,7 +2425,7 @@ SD_Startup(void)
long temp;
#ifdef WOLFDOSMPU
sbDMA = 2; // if user specified BLASTER string but did not specify D, set direct mode
sbNoProCheck = true; // if user specified BLASTER string but did not specify T, do not enable SB pro
sbNoProCheck |= 0x8000; // if user specified BLASTER string but did not specify T, do not check for SB pro
#endif // WOLFDOSMPU
while (*env)
{
Expand Down Expand Up @@ -2481,7 +2481,7 @@ SD_Startup(void)
case 'T':
temp = strtol(env + 1,&env,10);
if (temp >= 4 || temp == 2)
sbNoProCheck = false;
sbNoProCheck &= ~0x8000; // user specified a pro model; reenable the check
break;
case 'P':
mpuPort = strtol(env + 1,&env,16);
Expand Down

0 comments on commit 0be7ba2

Please sign in to comment.