point to new StepMania.ini location
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "smpackage.h"
|
||||
#include "ChangeGameSettings.h"
|
||||
#include "IniFile.h"
|
||||
#include "SMPackageUtil.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define new DEBUG_NEW
|
||||
@@ -50,7 +51,7 @@ BOOL ChangeGameSettings::OnInitDialog()
|
||||
// Fill the radio buttons
|
||||
//
|
||||
IniFile ini;
|
||||
ini.SetPath( "Data\\" PRODUCT_NAME );
|
||||
ini.SetPath( STEPMANIA_INI );
|
||||
ini.ReadFile();
|
||||
|
||||
CString sValue;
|
||||
@@ -99,7 +100,7 @@ void ChangeGameSettings::OnOK()
|
||||
{
|
||||
// TODO: Add extra validation here
|
||||
IniFile ini;
|
||||
ini.SetPath( "Data\\" PRODUCT_NAME );
|
||||
ini.SetPath( STEPMANIA_INI );
|
||||
ini.ReadFile();
|
||||
|
||||
|
||||
|
||||
@@ -195,5 +195,5 @@ BOOL MainMenuDlg::OnInitDialog()
|
||||
void MainMenuDlg::OnOpenStepmaniaIni()
|
||||
{
|
||||
// TODO: Add your control notification handler code here
|
||||
::ShellExecute( this->m_hWnd, "open", "Data\\" PRODUCT_NAME, "", "", SW_SHOWNORMAL );
|
||||
::ShellExecute( this->m_hWnd, "open", STEPMANIA_INI, "", "", SW_SHOWNORMAL );
|
||||
}
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
#define SMPACKAGE_UTIL_H
|
||||
|
||||
#include "RageUtil.h"
|
||||
#include "../ProductInfo.h"
|
||||
|
||||
static const CString STEPMANIA_INI = "Save\\" + CString(PRODUCT_NAME) + ".ini";
|
||||
|
||||
void WriteStepManiaInstallDirs( const CStringArray& asInstallDirsToWrite );
|
||||
void GetStepManiaInstallDirs( CStringArray& asInstallDirsOut );
|
||||
|
||||
Reference in New Issue
Block a user