api: added globals struct

This commit is contained in:
Hyper
2025-01-12 21:28:13 +00:00
parent 023fc0edf7
commit 7788e36704
9 changed files with 126 additions and 68 deletions
+1 -1
View File
@@ -3312,7 +3312,7 @@ static RenderPipeline* CreateGraphicsPipelineInRenderThread(PipelineState pipeli
pipeline = CreateGraphicsPipeline(pipelineState);
#ifdef ASYNC_PSO_DEBUG
bool loading = *reinterpret_cast<bool*>(g_memory.Translate(0x83367A4C));
bool loading = *SWA::SGlobals::ms_IsLoading;
if (loading)
++g_pipelinesCreatedAsynchronously;