just testing stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5456 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
78c9daaf7c
commit
c8a08c9ac7
1 changed files with 1 additions and 1 deletions
|
@ -2993,7 +2993,7 @@ static void QDECL capture_raw_video (void *vctx, int frame, void *data, int stri
|
||||||
quint64_t diskfree = 0;
|
quint64_t diskfree = 0;
|
||||||
if (Sys_GetFreeDiskSpace(filename, &diskfree))
|
if (Sys_GetFreeDiskSpace(filename, &diskfree))
|
||||||
{
|
{
|
||||||
Con_DLPrintf(2, "Free Space: %"PRIu64", threshhold %"PRIu64"\n", diskfree, (quint64_t)(1024*1024*capturethrottlesize.value))
|
Con_DLPrintf(2, "Free Space: %"PRIu64", threshhold %"PRIu64"\n", diskfree, (quint64_t)(1024*1024*capturethrottlesize.value));
|
||||||
if (diskfree < (quint64_t)(1024*1024*capturethrottlesize.value))
|
if (diskfree < (quint64_t)(1024*1024*capturethrottlesize.value))
|
||||||
Sys_Sleep(1); //throttle
|
Sys_Sleep(1); //throttle
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue