From 7b94a18d444c8b025de6d07dd068fa7f3b3603d2 Mon Sep 17 00:00:00 2001 From: neatodev <49599979+neatodev@users.noreply.github.com> Date: Tue, 1 Nov 2022 16:39:35 +0100 Subject: [PATCH] Fix incorrect assignment --- Data/Display/IniWriter.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Data/Display/IniWriter.cs b/Data/Display/IniWriter.cs index a3bafaa..35e38cf 100644 --- a/Data/Display/IniWriter.cs +++ b/Data/Display/IniWriter.cs @@ -458,14 +458,6 @@ private void WriteBmEngineAdvanced() Nlog.Info("WriteBmEngineAdvanced - Set MVSS Coverage to {0}", IniHandler.BmEngineData["SystemSettings"]["MultiViewSoftShadowDepthBiasScale"]); // Shadow Draw Distance - IniHandler.BmEngineData["SystemSettings"]["ShadowTexelsPerPixel"] = Program.MainWindow.ShadowDrawDistBox.SelectedIndex switch - { - 1 => "1.500000", - 2 => "2.000000", - 3 => "4.000000", - _ => "1.000000", - }; - switch (Program.MainWindow.ShadowDrawDistBox.SelectedIndex) { case 1: @@ -513,7 +505,7 @@ private void WriteBmEngineAdvanced() break; case 4: IniHandler.BmEngineData["TextureStreaming"]["PoolSize"] = "4096"; - IniHandler.BmEngineData["TextureStreaming"]["MemoryMargin"] = "32"; + IniHandler.BmEngineData["TextureStreaming"]["MemoryMargin"] = "64"; break; case 5: IniHandler.BmEngineData["TextureStreaming"]["PoolSize"] = "0";