From b59523ae89080daf5952428e64eaf21da226b8c9 Mon Sep 17 00:00:00 2001 From: Metis <100518708+sheepishgoat@users.noreply.github.com> Date: Wed, 23 Oct 2024 14:00:51 -0400 Subject: [PATCH] enable byond-tracy --- code/_compile_options.dm | 2 +- code/game/world.dm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/_compile_options.dm b/code/_compile_options.dm index 9e5227df96..b022f3a2bd 100644 --- a/code/_compile_options.dm +++ b/code/_compile_options.dm @@ -45,7 +45,7 @@ // If this is uncommented, will attempt to load and initialize prof.dll/libprof.so. // We do not ship byond-tracy. Build it yourself here: https://github.com/mafemergency/byond-tracy/ -// #define USE_BYOND_TRACY +#define USE_BYOND_TRACY #ifndef PRELOAD_RSC //set to: #define PRELOAD_RSC 2 // 0 to allow using external resources or on-demand behaviour; diff --git a/code/game/world.dm b/code/game/world.dm index df92c7c8fa..4ca2259e50 100644 --- a/code/game/world.dm +++ b/code/game/world.dm @@ -386,7 +386,7 @@ GLOBAL_LIST(topic_status_cache) else CRASH("Unsupported platform: [system_type]") - var/init_result = call(library, "init")() + var/init_result = call_ext(library, "init")("block") if (init_result != "0") CRASH("Error initializing byond-tracy: [init_result]")