System: Use Settings/config.json for debug options

This commit is contained in:
Alec Murphy 2025-04-19 08:13:58 -04:00
parent 3448acac38
commit c54cd6ea51
4 changed files with 17 additions and 2 deletions

View file

@ -51,6 +51,10 @@ U8* @system_build_info() { return System.build_info; }
U0 @system_log(CTask* task, U8* fmt, ...)
{
if (!config->o("debug"))
return;
if (!config->o("debug")->@("show_system_log_messages"))
return;
U8* buf = StrPrintJoin(NULL, fmt, argc, argv);
U8* str = buf;
U32 color;