mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-29 13:12:07 +00:00
Fix build errors.
Fix VFS root directory failing IsDirectory, which breaks the search for textures.xml. Fix incompatible change to loose cache name determination. This was SVN commit r9092.
This commit is contained in:
@@ -278,7 +278,7 @@ JSBool GetBuildTimestamp(JSContext* cx, uintN argc, jsval* vp)
|
||||
void DumpHeap(const char* basename, int idx, JSContext* cx)
|
||||
{
|
||||
char filename[64];
|
||||
sprintf_s(filename, ARRAY_SIZE(filename), "%hs.%03d.txt", basename, idx);
|
||||
sprintf_s(filename, ARRAY_SIZE(filename), "%s.%03d.txt", basename, idx);
|
||||
NativePath pathname = Path::Join(psLogDir(), filename);
|
||||
#if OS_WIN
|
||||
FILE* f = _wfopen(pathname.c_str(), L"w");
|
||||
|
||||
Reference in New Issue
Block a user