Changeset 4982 in vbox
- Timestamp:
- Sep 22, 2007 8:47:18 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 24750
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp
r4645 r4982 163 163 #endif 164 164 static char *g_pszHdaFile = NULL; 165 static bool g_HdaSpf = false; 165 166 static char *g_pszHdbFile = NULL; 167 static bool g_HdbSpf = false; 166 168 static char *g_pszCdromFile = NULL; 167 169 static char *g_pszFdaFile = NULL; … … 512 514 return SyntaxError("The path to the specified harddisk, '%s', could not be resolved.\n", argv[curArg]); 513 515 } 516 else if (strcmp(pszArg, "-hdaspf") == 0) 517 { 518 g_fHdaSpf = true; 519 } 514 520 else if (strcmp(pszArg, "-hdb") == 0) 515 521 { … … 522 528 if (!g_pszHdbFile) 523 529 return SyntaxError("The path to the specified harddisk, '%s', could not be resolved.\n", argv[curArg]); 530 } 531 else if (strcmp(pszArg, "-hdbspf") == 0) 532 { 533 g_fHdbSpf = true; 524 534 } 525 535 else if (strcmp(pszArg, "-fda") == 0) … … 1476 1486 rc = CFGMR3InsertNode(pDrv, "Config", &pCfg); UPDATE_RC(); 1477 1487 rc = CFGMR3InsertString(pCfg, "Path", g_pszHdaFile); UPDATE_RC(); 1488 1489 if (g_fHdaSpf) 1490 { 1491 rc = CFGMR3InsertString(pCfg, "Format", "SPF"); UPDATE_RC(); 1492 } 1478 1493 } 1479 1494 … … 1496 1511 rc = CFGMR3InsertNode(pDrv, "Config", &pCfg); UPDATE_RC(); 1497 1512 rc = CFGMR3InsertString(pCfg, "Path", g_pszHdbFile); UPDATE_RC(); 1513 1514 if (g_fHdbSpf) 1515 { 1516 rc = CFGMR3InsertString(pCfg, "Format", "SPF"); UPDATE_RC(); 1517 } 1498 1518 } 1499 1519
Note:
See TracChangeset
for help on using the changeset viewer.