RTech: mark cvars FCVAR_ACCESSIBLE_FROM_THREADS

Must be FCVAR_ACCESSIBLE_FROM_THREADS since they are used from different threads.
This commit is contained in:
Kawe Mazidjatari 2024-02-25 21:16:39 +01:00
parent b9c7cabda9
commit e141c529ac
2 changed files with 3 additions and 3 deletions

View File

@ -7,8 +7,8 @@
#include "rtech/pak/paktools.h"
#include "asyncio.h"
ConVar async_debug_level("async_debug_level", "0", FCVAR_DEVELOPMENTONLY, "The debug level for async reads", false, 0.f, false, 0.f, "0 = disabled");
ConVar async_debug_close("async_debug_close", "0", FCVAR_DEVELOPMENTONLY, "Debug async file closing", false, 0.f, false, 0.f, "0 = disabled");
ConVar async_debug_level("async_debug_level", "0", FCVAR_DEVELOPMENTONLY | FCVAR_ACCESSIBLE_FROM_THREADS, "The debug level for async reads", false, 0.f, false, 0.f, "0 = disabled");
ConVar async_debug_close("async_debug_close", "0", FCVAR_DEVELOPMENTONLY | FCVAR_ACCESSIBLE_FROM_THREADS, "Debug async file closing", false, 0.f, false, 0.f, "0 = disabled");
//----------------------------------------------------------------------------------
// open a file and add it to the async file handle array

View File

@ -14,7 +14,7 @@
#include "pakdecode.h"
#include "pakstream.h"
static ConVar pak_debugrelations("pak_debugrelations", "0", FCVAR_DEVELOPMENTONLY, "Debug RPAK asset dependency resolving");
static ConVar pak_debugrelations("pak_debugrelations", "0", FCVAR_DEVELOPMENTONLY | FCVAR_ACCESSIBLE_FROM_THREADS, "Debug RPAK asset dependency resolving");
//-----------------------------------------------------------------------------
// resolve the target guid from lookuo table