diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 45b11ab442..ecfdfee4b0 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -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;