mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
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:
parent
b9c7cabda9
commit
e141c529ac
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user