Changeset 11822 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Aug 29, 2008 2:21:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/main.cpp
r11737 r11822 272 272 int main (int argc, char **argv, char **envp) 273 273 { 274 /* Initialize VBox Runtime. Initialize the S uplib+GCas well only if we274 /* Initialize VBox Runtime. Initialize the SUPLib as well only if we 275 275 * are really about to start a VM. Don't do this if we are only starting 276 276 * the selector window. */ 277 bool fInit GC= false;277 bool fInitSUPLib = false; 278 278 for (int i = 0; i < argc; i++) 279 279 { 280 280 if (!::strcmp (argv[i], "-startvm" )) 281 281 { 282 fInit GC= true;282 fInitSUPLib = true; 283 283 break; 284 284 } 285 285 } 286 RTR3Init (fInitGC, ~(size_t)0); 286 287 if (!fInitSUPLib) 288 RTR3Init(); 289 else 290 RTR3InitAndSUPLib(); 287 291 288 292 return TrustedMain (argc, argv, envp);
Note:
See TracChangeset
for help on using the changeset viewer.