mirror of
https://github.com/glest/glest-source.git
synced 2025-08-13 11:54:00 +02:00
- added new commandline options to tell the game where to look for data, ini's and where to write logs
This commit is contained in:
@@ -73,8 +73,8 @@ Profiler::~Profiler(){
|
||||
rootSection->stop();
|
||||
|
||||
string profileLog = "profiler.log";
|
||||
if(getGameReadWritePath() != "") {
|
||||
profileLog = getGameReadWritePath() + profileLog;
|
||||
if(getGameReadWritePath(GameConstants::path_logs_CacheLookupKey) != "") {
|
||||
profileLog = getGameReadWritePath(GameConstants::path_logs_CacheLookupKey) + profileLog;
|
||||
}
|
||||
FILE *f= fopen(profileLog.c_str(), "w");
|
||||
if(f==NULL)
|
||||
|
Reference in New Issue
Block a user