From 6c85951d532714e6d448eb46bcc260f3ad97bc9c Mon Sep 17 00:00:00 2001 From: Dunedan Date: Sun, 25 May 2025 11:21:47 +0200 Subject: [PATCH] Combine duplicate profiler2 config sections default.cfg contained two sections named "profiler2". That's something which might be confusing and is not supported by all implementations of ini file parsers. To remove that ambiguity, this combines these two sections into one. --- binaries/data/config/default.cfg | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/binaries/data/config/default.cfg b/binaries/data/config/default.cfg index 25abb6a460..6409e647c1 100644 --- a/binaries/data/config/default.cfg +++ b/binaries/data/config/default.cfg @@ -186,8 +186,10 @@ menu = 60 ; Throttle FPS in menus only. [profiler2] server = "127.0.0.1" -server.port = "8000" ; Use a free port on your machine. -server.threads = "6" ; Enough for the browser's parallel connection limit +server.port = "8000" ; Use a free port on your machine. +server.threads = "6" ; Enough for the browser's parallel connection limit +autoenable = false ; Enable HTTP server output at startup (default off for security/performance) +gpu.enable = true ; Allow GPU timing mode when available. [console] font = "mono-10" @@ -561,10 +563,6 @@ fps = "false" ; Show frames per second in top right corner realtime = "false" ; Show current system time in top right corner netwarnings = "true" ; Show warnings if the network connection is bad -[profiler2] -autoenable = false ; Enable HTTP server output at startup (default off for security/performance) -gpu.enable = true ; Allow GPU timing mode when available. - [rlinterface] address = "127.0.0.1:6000"