mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-12 05:59:53 +02:00
System: Use Settings/config.json for debug options
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user