- bugfix for language files in scenarios and tutorials

- added numerous performance profiling statements
This commit is contained in:
Mark Vejvoda
2010-05-06 21:29:46 +00:00
parent 304b6653e9
commit 1a6bb489b8
7 changed files with 125 additions and 19 deletions

View File

@@ -203,12 +203,12 @@ void SystemFlags::OutputDebug(DebugType type, const char *fmt, ...) {
assert(currentDebugLog.fileStream != NULL);
//currentDebugLog.mutex->p();
currentDebugLog.mutex->p();
(*currentDebugLog.fileStream) << "[" << szBuf2 << "] " << szBuf;
(*currentDebugLog.fileStream).flush();
//currentDebugLog.mutex->v();
currentDebugLog.mutex->v();
}
// output to console
else {