User data directory location getter.

This commit is contained in:
Bartosz Taudul
2019-12-28 18:16:45 +01:00
parent 36942a5ddb
commit 9e76ddb9fd
3 changed files with 18 additions and 4 deletions

View File

@@ -236,4 +236,10 @@ void UserData::Remove( const char* filename )
unlink( path );
}
const char* UserData::GetConfigLocation() const
{
assert( Valid() );
return GetSavePath( m_program.c_str(), m_time, nullptr, false );
}
}