Changeset 44486 in vbox
- Timestamp:
- Jan 31, 2013 12:01:11 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/init.cpp
r44485 r44486 93 93 DECLHIDDEN(size_t) g_offrtProcName; 94 94 95 /** The IPRT init flags. */ 96 static uint32_t g_fInitFlags; 97 95 98 /** The argument count of the program. */ 96 99 static int g_crtArgs = -1; … … 99 102 /** The original argument vector of the program. */ 100 103 static char ** g_papszrtOrgArgs; 101 102 /** Are we running in unobtrusive mode? */103 static bool g_fUnobtrusive = false;104 104 105 105 /** … … 344 344 #endif 345 345 346 g_fUnobtrusive = RT_BOOL(fFlags & RTR3INIT_FLAGS_UNOBTRUSIVE); 346 /* 347 * Save the init flags. 348 */ 349 g_fInitFlags |= fFlags; 347 350 348 351 #if !defined(IN_GUEST) && !defined(RT_NO_GIP) … … 507 510 #if !defined(IN_GUEST) && !defined(RT_NO_GIP) 508 511 if (fFlags & RTR3INIT_FLAGS_SUPLIB) 512 { 509 513 SUPR3Init(NULL); 514 g_fInitFlags |= RTR3INIT_FLAGS_SUPLIB; 515 } 510 516 #endif 511 517 if (!pszProgramPath) … … 567 573 RTR3DECL(bool) RTR3InitIsUnobtrusive(void) 568 574 { 569 return g_fUnobtrusive;575 return RT_BOOL(g_fInitFlags & RTR3INIT_FLAGS_UNOBTRUSIVE); 570 576 } 571 577
Note:
See TracChangeset
for help on using the changeset viewer.