[Sys]: Format code (#658)
This commit is contained in:
parent
d8166a4166
commit
02db63cc36
@ -84,9 +84,7 @@ namespace Game
|
||||
static jmp_buf g_com_error{}; \
|
||||
static Game::TraceThreadInfo g_trace_thread_info{}; \
|
||||
static void* g_thread_values[Game::THREAD_VALUE_COUNT]{}; \
|
||||
auto** thread_data = \
|
||||
Game::Sys::GetTls<void*>(Game::Sys::ThreadOffset::THREAD_VALUES); \
|
||||
*thread_data = g_thread_values; \
|
||||
*(Game::Sys::GetTls<void*>(Game::Sys::THREAD_VALUES)) = g_thread_values; \
|
||||
Game::Sys_SetValue(Game::THREAD_VALUE_PROF_STACK, &profile_stack); \
|
||||
Game::Sys_SetValue(Game::THREAD_VALUE_VA, &va_info); \
|
||||
Game::Sys_SetValue(Game::THREAD_VALUE_COM_ERROR, &g_com_error); \
|
||||
|
@ -10386,6 +10386,14 @@ namespace Game
|
||||
|
||||
static_assert(sizeof(bgs_t) == 0x82950);
|
||||
|
||||
struct ZipInfo
|
||||
{
|
||||
int offsetCount;
|
||||
int offsets[128];
|
||||
int size;
|
||||
char* buffer;
|
||||
};
|
||||
|
||||
#pragma endregion
|
||||
|
||||
#ifndef IDA
|
||||
|
@ -78,7 +78,10 @@ namespace Game
|
||||
{
|
||||
LEVEL_BGS = 0xC,
|
||||
THREAD_VALUES = 0x14,
|
||||
HUFFMAN_BLOC = 0x10,
|
||||
DVAR_ALLOWED_MODIFIED_FLAGS = 0x1C,
|
||||
DVAR_MODIFIED_FLAGS = 0x18,
|
||||
ZIP_INFO = 0x20,
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
Loading…
Reference in New Issue
Block a user