do HOOKS->DumpDebugInfo before OnFirstRun

This commit is contained in:
Glenn Maynard
2004-09-05 01:24:41 +00:00
parent 9a29be40d5
commit 2448cc74fb
+7 -3
View File
@@ -998,7 +998,7 @@ int main(int argc, char* argv[])
SetupSDL();
#endif
/* This should be done after PREFSMAN is set up, so it can use Dialog::OK(). */
/* This needs PREFSMAN. */
Dialog::Init();
//
@@ -1016,11 +1016,15 @@ int main(int argc, char* argv[])
srand( time(NULL) ); // seed number generator
/* Do this early, so we have debugging output if anything else fails. LOG and
* Dialog must be set up first. It shouldn't take long, but it might take a
* little time; do this after the LoadingWindow is shown, since we don't want
* that to appear delayed. */
HOOKS->DumpDebugInfo();
if( PREFSMAN->m_bFirstRun )
OnFirstRun();
HOOKS->DumpDebugInfo();
CheckSettings();
GAMEMAN = new GameManager;