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