From 78682940ea3a11b209612a89bd340a1d17cc206e Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 19 May 2005 20:55:05 +0000 Subject: [PATCH] remove; we generate a machine keypair on demand doing things "on first run" is fragile: it might be interrupted, in which case we either do it again next time (running first-run tasks more than once) or we don't do any (skipping some of them). instead, do things on demand, and keep track of which tasks have completed --- stepmania/src/StepMania.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 8e8e834906..4b50909f48 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -844,11 +844,6 @@ void SaveGamePrefsToDisk() ini.WriteFile( GAMEPREFS_INI_PATH ); } -static void OnFirstRun() -{ - // TODO: generate a machine keypair here -} - static void MountTreeOfZips( const CString &dir ) { vector dirs; @@ -1081,9 +1076,6 @@ int main(int argc, char* argv[]) LOG->Info( "TLS is %savailable", RageThread::GetSupportsTLS()? "":"not " ); #endif - if( PREFSMAN->m_bFirstRun ) - OnFirstRun(); - CheckSettings(); GAMEMAN = new GameManager;