git-svn-id: https://localhost/svn/Project64/trunk@23 111125ac-702d-7242-af9c-5ba8ae61c1ef
This commit is contained in:
parent
4723cc7407
commit
f148d1b94c
Source/Project64
|
@ -1624,7 +1624,7 @@ void CCheats::ChangeChildrenStatus(WND_HANDLE hParent, bool Checked) {
|
|||
}
|
||||
//Save Cheat
|
||||
TV_SetCheckState(m_hCheatTree,hParent,Checked?TV_STATE_CHECKED:TV_STATE_CLEAR);
|
||||
_Settings->SaveDwordIndex(Cheat_Active,item.lParam,Checked);
|
||||
_Settings->SaveBoolIndex(Cheat_Active,item.lParam,Checked);
|
||||
return;
|
||||
}
|
||||
TV_CHECK_STATE state = TV_STATE_UNKNOWN;
|
||||
|
|
|
@ -69,7 +69,7 @@ void CSettingTypeGameIndex::LoadDefault ( int Index, stdstr & Value ) const
|
|||
void CSettingTypeGameIndex::Save ( int Index, bool Value )
|
||||
{
|
||||
m_KeyNameIdex.Format("%s%d%s",m_PreIndex.c_str(),Index,m_PostIndex.c_str());
|
||||
CSettingTypeGame::Save(0,Value);
|
||||
CSettingTypeGame::Save(Index,Value);
|
||||
}
|
||||
|
||||
void CSettingTypeGameIndex::Save ( int Index, ULONG Value )
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
//#define VALIDATE_BIN_APP "GFX DLL"
|
||||
|
||||
//#define VALIDATE_BIN_LOCAL
|
||||
#define VALIDATE_DEBUG
|
||||
//#define VALIDATE_DEBUG
|
||||
|
||||
void TestValidBinary ( );
|
||||
|
||||
|
|
|
@ -233,10 +233,21 @@ void InitializeLog ( void)
|
|||
void FixDirectories ( void )
|
||||
{
|
||||
|
||||
CPath(CPath::MODULE_DIRECTORY,_T("Config")).CreateDirectory();
|
||||
CPath(CPath::MODULE_DIRECTORY,_T("Logs")).CreateDirectory();
|
||||
CPath(CPath::MODULE_DIRECTORY,_T("Save")).CreateDirectory();
|
||||
CPath(CPath::MODULE_DIRECTORY,_T("Screenshots")).CreateDirectory();
|
||||
CPath Directory(CPath::MODULE_DIRECTORY);
|
||||
Directory.AppendDirectory(_T("Config"));
|
||||
Directory.CreateDirectory();
|
||||
|
||||
Directory.UpDirectory();
|
||||
Directory.AppendDirectory("Logs");
|
||||
Directory.CreateDirectory();
|
||||
|
||||
Directory.UpDirectory();
|
||||
Directory.AppendDirectory("Save");
|
||||
Directory.CreateDirectory();
|
||||
|
||||
Directory.UpDirectory();
|
||||
Directory.AppendDirectory("Screenshots");
|
||||
Directory.CreateDirectory();
|
||||
}
|
||||
|
||||
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszArgs, int nWinMode)
|
||||
|
|
Loading…
Reference in New Issue