enable byond-tracy

This commit is contained in:
Metis
2024-10-23 14:00:51 -04:00
parent 3a044ef627
commit b59523ae89
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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]")