Update Ini File Class.cpp

Fix Project64.cfg from getting corrupted when moving the window around.
https://github.com/project64/project64/issues/225
This commit is contained in:
theboy181 2015-04-13 22:16:05 -07:00
parent c4cb8867f7
commit 49034d2d9d
1 changed files with 1 additions and 0 deletions

View File

@ -738,6 +738,7 @@ void CIniFileBase::SaveNumber ( LPCTSTR lpSectionName, LPCTSTR lpKeyName, ULONG
void CIniFileBase::FlushChanges (void)
{
CGuard Guard(m_CS);
SaveCurrentSection();
}