move installations list to a subkey, so it won't clutter things if

we add more keys later
This commit is contained in:
Glenn Maynard
2003-02-12 18:03:59 +00:00
parent 3b223d8b52
commit 9a04319aaf
+2 -2
View File
@@ -7,7 +7,7 @@ inline void WriteStepManiaInstallDirs( const CStringArray& asInstallDirsToWrite
{
CRegistry Reg;
Reg.SetRootKey(HKEY_LOCAL_MACHINE);
Reg.SetKey("Software\\StepMania\\smpackage", TRUE); // create if not already present
Reg.SetKey("Software\\StepMania\\smpackage\\Installations", TRUE); // create if not already present
int i;
@@ -32,7 +32,7 @@ inline void GetStepManiaInstallDirs( CStringArray& asInstallDirsOut )
CRegistry Reg;
Reg.SetRootKey(HKEY_LOCAL_MACHINE);
Reg.SetKey("Software\\StepMania\\smpackage", TRUE); // create if not already present
Reg.SetKey("Software\\StepMania\\smpackage\\Installations", TRUE); // create if not already present
for( int i=0; i<100; i++ )
{