From f7a29cfc3475b3f46b44c52e70eb54eb5da26ad4 Mon Sep 17 00:00:00 2001 From: PancakeTAS Date: Thu, 25 Dec 2025 01:39:59 +0100 Subject: [PATCH] refactor(cleanup): correct intendation of default config --- lsfg-vk-common/src/configuration/config.cpp | 40 ++++++++++----------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/lsfg-vk-common/src/configuration/config.cpp b/lsfg-vk-common/src/configuration/config.cpp index e08b938..2ed6028 100644 --- a/lsfg-vk-common/src/configuration/config.cpp +++ b/lsfg-vk-common/src/configuration/config.cpp @@ -29,28 +29,28 @@ void ConfigFile::createDefaultConfigFile(const std::filesystem::path& path) { ofs << R"(version = 2 - [global] - # dll = '/media/games/Lossless Scaling/Lossless.dll' # if you don't have LS in the default location - allow_fp16 = true # this will improve give a MASSIVE performance boost on AMD, but be super slow on older (!) NVIDIA GPUs +[global] +# dll = '/media/games/Lossless Scaling/Lossless.dll' # if you don't have LS in the default location +allow_fp16 = true # this will improve give a MASSIVE performance boost on AMD, but be super slow on older (!) NVIDIA GPUs - [[profile]] - name = "4x FG / 85% [Performance]" - active_in = [ # see the wiki for more info - 'vkcube', - 'vkcubepp' - ] - # gpu = 'NVIDIA GeForce RTX 5080' # see the wiki for more info - multiplier = 4 - flow_scale = 0.85 - performance_mode = true - pacing = 'none' # see the wiki for more info +[[profile]] +name = "4x FG / 85% [Performance]" +active_in = [ # see the wiki for more info + 'vkcube', + 'vkcubepp' +] +# gpu = 'NVIDIA GeForce RTX 5080' # see the wiki for more info +multiplier = 4 +flow_scale = 0.85 +performance_mode = true +pacing = 'none' # see the wiki for more info - [[profile]] - name = "2x FG / 100%" - active_in = 'GenshinImpact.exe' - gpu = 'NVIDIA GeForce RTX 5080' - multiplier = 2 - )"; +[[profile]] +name = "2x FG / 100%" +active_in = 'GenshinImpact.exe' +gpu = 'NVIDIA GeForce RTX 5080' +multiplier = 2 +)"; ofs.close(); } catch (const std::filesystem::filesystem_error& e) { throw ls::error("unable to create default configuration file", e);